toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audioEncoding != null) 'audioEncoding': audioEncoding!,
      if (effectsProfileId != null) 'effectsProfileId': effectsProfileId!,
      if (pitch != null) 'pitch': pitch!,
      if (sampleRateHertz != null) 'sampleRateHertz': sampleRateHertz!,
      if (speakingRate != null) 'speakingRate': speakingRate!,
      if (volumeGainDb != null) 'volumeGainDb': volumeGainDb!,
    };