StatusModel class
The data model for any status data
Constructors
- StatusModel({required int pk, required String statusName, required IconData iconData, required Color statusColor})
-
StatusModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- iconData → IconData
-
The iconData for this status
final
- pk → int
-
The status pk
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusColor → Color
-
The color for this status
final
- statusName → String
-
The status name
final
Methods
-
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.
override