DropDownDataModel class
A model class representing a single dropdown item.
Constructors
- DropDownDataModel({String? id, String? title, Object? value, Widget? icon})
-
Creates a dropdown data model with
idandtitle. -
DropDownDataModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → Widget?
-
The display text of the item.
final
- id → String?
-
The unique identifier of the item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
The display text of the item.
final
- value → Object?
-
The display text of the item.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override