MenuItemModel class

Constructors

Properties

action ActionModel?
getter/setter pair
description String?
getter/setter pair
documentID String
getter/setter pairoverride
hashCode int
The hash code for this object.
no setteroverride
icon IconModel?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
getter/setter pair

Methods

collectReferences({String? appId}) Future<List<ModelReference>>
override
copyWith({String? documentID, String? text, String? description, IconModel? icon, ActionModel? action}) MenuItemModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) MenuItemEntity
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromEntity(String documentID, MenuItemEntity? entity) Future<MenuItemModel?>
fromEntityPlus(String documentID, MenuItemEntity? entity, {String? appId}) Future<MenuItemModel?>

Constants

id → const String
packageName → const String