toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'voice': voice,
    'speed': speed,
    'text_format': textFormat,
    'audio_format': audioFormat,
  };
}