Created
January 8, 2020 14:28
-
-
Save zonble/cb37395c8ed05efde748a646ebc71ed8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:meta/meta.dart'; | |
class CoordinatorStatus {} | |
class UserinfoModel {} | |
class _UserStatus extends CoordinatorStatus { | |
UserinfoModel model; | |
_UserStatus({this.model}); | |
} | |
class _UnBookingStatus extends _UserStatus { | |
_UnBookingStatus({@required UserinfoModel model}) : super(model: model); | |
} | |
class _BookingStatus extends _UserStatus { | |
_BookingStatus({@required UserinfoModel model}) : super(model: model); | |
} | |
void main() { | |
var ubs = _UnBookingStatus(model: UserinfoModel()); | |
print(ubs.model); | |
var bs = _BookingStatus(model: UserinfoModel()); | |
print(bs.model); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment