toJson method

  1. @override
Map<String, dynamic> toJson([
  1. dynamic extra
])
override

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "group_call_id": groupCallId,
    "participant_id": participantId?.toJson(),
    "audio_source_id": audioSourceId,
    "payload": payload,
    "is_muted": isMuted,
    "is_my_video_enabled": isMyVideoEnabled,
    "invite_hash": inviteHash,
    "@extra": extra,
  };
}