MenuDefModel class

Constructors

Properties

admin bool?
getter/setter pair
appId String
getter/setter pairoverride
documentID String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setteroverride
getter/setter pair
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? appId, String? name, List<MenuItemModel>? menuItems, bool? admin}) MenuDefModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) MenuDefEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, MenuDefEntity? entity) Future<MenuDefModel?>
fromEntityPlus(String documentID, MenuDefEntity? entity, {String? appId}) Future<MenuDefModel?>

Constants

id → const String
packageName → const String