MenuItemUiModel class
Constructors
-
MenuItemUiModel({String? route, List<
MenuItemUiModel> ? children, String idMenuItem = '', IconData? icon = Icons.circle_outlined, int nivel = 0, Function? onTapItem})
Properties
-
children
→ List<
MenuItemUiModel> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
final
- idMenuItem → String
-
final
- nivel → int
-
final
- onTapItem → Function?
-
final
- route → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? idMenuItem, IconData? icon, int? nivel, Function? onTapItem, String? route}) → MenuItemUiModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → MenuItemUiModel