toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "call_id": this.callId,
    "is_disconnected": this.isDisconnected,
    "duration": this.duration,
    "is_video": this.isVideo,
    "connection_id": this.connectionId,
    "@extra": this.extra,
  };
}