parseVoiceRegion method
Parse a VoiceRegion from a Map.
Implementation
VoiceRegion parseVoiceRegion(Map<String, Object?> raw) {
return VoiceRegion(
id: raw['id'] as String,
name: raw['name'] as String,
isOptimal: raw['optimal'] as bool,
isDeprecated: raw['deprecated'] as bool,
isCustom: raw['custom'] as bool,
);
}