ServerCallAnswerParams class

Params of the server.call.answer event.

Annotations
  • @freezed

Constructors

ServerCallAnswerParams({@JsonKey(name: 'jid') required String jid, @JsonKey(name: 'candidates') List<ServerCallAnswerCandidate>? candidates, @JsonKey(name: 'onliners') List<CallOnliner>? onliners, @JsonKey(name: 'jsep') required JSEP jsep, @JsonKey(name: 'uid') required String uid})
const
factory
ServerCallAnswerParams.fromJson(Map<String, dynamic> json)
factory

Properties

candidates List<ServerCallAnswerCandidate>?
List of ICE candidates (when trickle = false).
no setterinherited
copyWith → $ServerCallAnswerParamsCopyWith<ServerCallAnswerParams>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
jid String
Chat or contact id.
no setterinherited
jsep JSEP
SDP data.
no setterinherited
onliners List<CallOnliner>?
Current call participants.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String
Call id.
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