toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data["video_resolution"] = videoResolution.value();
  data["resolution_mode"] = resolutionMode.value();
  data["fps"] = fps;
  data["bitrate"] = bitrate;
  return data;
}