toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'taskID': this.taskID,
    'audioConfig': this.audioConfig.toMap(),
    'videoConfig': this.videoConfig.toMap(),
    'inputList': this.inputList,
    'outputList': this.outputList,
    'watermark': this.watermark.toMap(),
    'whiteboard': this.whiteboard.toMap(),
    'backgroundColor': this.backgroundColor,
    'backgroundImageURL': this.backgroundImageURL,
    'enableSoundLevel': this.enableSoundLevel,
    'streamAlignmentMode': this.streamAlignmentMode.index,
    'userData': this.userData,
    'advancedConfig': this.advancedConfig,
    'minPlayStreamBufferLength': this.minPlayStreamBufferLength,
    'mixImageCheckMode': this.mixImageCheckMode.index
  };
}