toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'taskID': this.taskID,
    'roomID': this.roomID,
    'audioConfig': this.audioConfig.toMap(),
    'outputList': this.outputList,
    'enableSoundLevel': this.enableSoundLevel,
    'streamAlignmentMode': this.streamAlignmentMode.index,
    'minPlayStreamBufferLength': this.minPlayStreamBufferLength
  };
}