VoiceInfo.fromJson constructor
Implementation
factory VoiceInfo.fromJson(Map<String, dynamic> json) => VoiceInfo(
id: json['id'] as String,
name: json['name'] as String,
description: json['description'] as String?,
category: json['category'] as String?,
gender: json['gender'] as String?,
accent: json['accent'] as String?,
previewUrl: json['preview_url'] as String?,
);