ParticipantInfo class
- Annotations
-
- @freezed
Constructors
- ParticipantInfo({@JsonKey(fromJson: dateTimeFromJson, toJson: dateTimeToJson) DateTime? joinedAt, required bool isLocal, required bool isOwner, String? userId, @JsonKey(name: 'userName') String? username, ParticipantPermissions? permissions})
-
factory
-
ParticipantInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ParticipantInfoCopyWith<
ParticipantInfo> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocal → bool
-
no setterinherited
- isOwner → bool
-
no setterinherited
- joinedAt → DateTime?
-
no setterinherited
- permissions → ParticipantPermissions?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String?
-
Client-settable identifier for the participant
no setterinherited
- username → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited