RecentChat class
Represents the recent chat data.
Constructors
-
RecentChat({List<
RecentChatData> ? data}) - Converts a JSON object into a RecentChat instance.
-
RecentChat.fromJson(Map<
String, dynamic> json) -
Converts a RecentChat instance into a JSON object.
factory
Properties
-
data
↔ List<
RecentChatData> ? -
Initializes a new instance of the RecentChat class.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a RecentChat instance into a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited