toJson method
Implementation
Map<String, dynamic> toJson() => {
"type": type == CR_MIXER_OUTPUT_TYPE.MIXOT_FILE
? "MIXOT_FILE"
: "MIXOT_LIVE",
"fileName": fileName,
"encryptType": encryptType,
"isUploadOnRecording": isUploadOnRecording,
"serverPathFileName": serverPathFileName,
"liveUrl": liveUrl,
"errRetryTimes": errRetryTimes
};