toJson method

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

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'getGroupCallStreamSegment',
    if (extra != null) '@extra': extra,
    'group_call_id': group_call_id,
    'time_offset': time_offset,
    'scale': scale,
    'channel_id': channel_id,
    'video_quality': video_quality
  };
}