toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (audioEncoding != null) 'audioEncoding': audioEncoding!,
      if (bargeInConfig != null) 'bargeInConfig': bargeInConfig!,
      if (enableWordInfo != null) 'enableWordInfo': enableWordInfo!,
      if (model != null) 'model': model!,
      if (modelVariant != null) 'modelVariant': modelVariant!,
      if (optOutConformerModelMigration != null)
        'optOutConformerModelMigration': optOutConformerModelMigration!,
      if (phraseHints != null) 'phraseHints': phraseHints!,
      if (sampleRateHertz != null) 'sampleRateHertz': sampleRateHertz!,
      if (singleUtterance != null) 'singleUtterance': singleUtterance!,
    };