Status class

Represents a status model with an ID, current status flag, and status message.

Constructors

Status({String? id, bool? isCurrentStatus, String? status})
Constructs an instance of Status.
Status.fromJson(Map<String, dynamic> json)
Creates a Status object from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the status.
getter/setter pair
isCurrentStatus bool?
The current status flag.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The status message.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a Status object to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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