DrawerModel class

Constructors

DrawerModel({required String documentID, required String appId, String? name, BackgroundModel? backgroundOverride, String? headerText, String? secondHeaderText, double? headerHeight, RgbModel? popupMenuBackgroundColor, BackgroundModel? headerBackgroundOverride, RgbModel? popupMenuBackgroundColorOverride, MenuDefModel? menu})

Properties

appId String
getter/setter pairoverride
backgroundOverride BackgroundModel?
getter/setter pair
documentID String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setteroverride
headerBackgroundOverride BackgroundModel?
getter/setter pair
headerHeight double?
getter/setter pair
headerText String?
getter/setter pair
getter/setter pair
name String?
getter/setter pair
popupMenuBackgroundColor RgbModel?
getter/setter pair
popupMenuBackgroundColorOverride RgbModel?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondHeaderText String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? name, BackgroundModel? backgroundOverride, String? headerText, String? secondHeaderText, double? headerHeight, RgbModel? popupMenuBackgroundColor, BackgroundModel? headerBackgroundOverride, RgbModel? popupMenuBackgroundColorOverride, MenuDefModel? menu}) DrawerModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) DrawerEntity
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromEntity(String documentID, DrawerEntity? entity) Future<DrawerModel?>
fromEntityPlus(String documentID, DrawerEntity? entity, {String? appId}) Future<DrawerModel?>

Constants

id → const String
packageName → const String