toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (languageCodes != null) 'languageCodes': languageCodes!,
      if (name != null) 'name': name!,
      if (naturalSampleRateHertz != null)
        'naturalSampleRateHertz': naturalSampleRateHertz!,
      if (ssmlGender != null) 'ssmlGender': ssmlGender!,
    };