ParticipantList class
A class that represents a list of participants with their profile details, message ID, and time.
Constructors
- ParticipantList({ProfileDetails? profileDetails, String? messageId, String? time})
- Constructs a ParticipantList object with the provided parameters.
-
ParticipantList.fromJson(Map<
String, dynamic> json) -
Creates a ParticipantList object from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId ↔ String?
-
The ID of the message.
getter/setter pair
- profileDetails ↔ ProfileDetails?
-
The profile details of the participant.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time ↔ String?
-
The time when the message was sent.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the ParticipantList object to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited