ClientCallOfferParams class

Params of the client.call.offer event.

Annotations
  • @freezed

Constructors

ClientCallOfferParams({@JsonKey(name: 'jid') required String jid, @Deprecated('Mute state Deprecated: use EnabledAudio.') @JsonKey(name: 'muted') required bool muted, @JsonKey(name: 'trickle') required bool trickle, @JsonKey(name: 'sdp') required String sdp, @JsonKey(name: 'call_type') String? callType, @Default(false) @JsonKey(name: 'enabled_audio') bool? enabledAudio, @Default(false) @JsonKey(name: 'enabled_video') bool? enabledVideo})
const
factory
ClientCallOfferParams.fromJson(Map<String, dynamic> json)
factory

Properties

callType String?
CallType is a type of call("audio" - audio room, "video" - video room). default = "audio".
no setterinherited
copyWith → $ClientCallOfferParamsCopyWith<ClientCallOfferParams>
no setterinherited
enabledAudio bool?
Audio state.
no setterinherited
enabledVideo bool?
Video state.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
jid String
Chat or contact id.
no setterinherited
muted bool
Mute state Deprecated: use EnabledAudio.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdp String
SDP (session description protocol) data.
no setterinherited
trickle bool
Is trickle mode enabled.
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