CallOnliner class

Call participant.

Annotations
  • @freezed

Constructors

CallOnliner({@JsonKey(name: 'jid') required String jid, @JsonKey(name: 'display_name') required String displayName, @JsonKey(name: 'role') required String role, @JsonKey(name: 'icon') required String icon, @JsonKey(name: 'muted') required bool muted, @Default(false) @JsonKey(name: 'enabled_video') bool? enabledVideo, @JsonKey(name: 'devices') required List<CallDevice> devices})
const
factory
CallOnliner.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $CallOnlinerCopyWith<CallOnliner>
no setterinherited
devices List<CallDevice>
Member devices, strictly one for now.
no setterinherited
displayName String
Contact name.
no setterinherited
enabledVideo bool?
Video state.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
icon String
Contact icon.
no setterinherited
jid String
Contact id.
no setterinherited
muted bool
Microphone muted. Computed from devices muted states.
no setterinherited
role String
Contact role.
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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