toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'width': this.width,
'height': this.height,
'fps': this.fps,
'bitrate': this.bitrate,
'quality': this.quality,
'rateControlMode': this.rateControlMode.index
};
}