toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['videoResolution'] = videoResolution.index;
  data['videoResolutionMode'] = videoResolutionMode.index;
  data['videoFps'] = videoFps;
  data['videoBitrate'] = videoBitrate;
  data['minVideoBitrate'] = minVideoBitrate;
  return data;
}