toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (config != null) 'config': config!,
      if (configMask != null) 'configMask': configMask!,
      if (files != null) 'files': files!,
      if (processingStrategy != null)
        'processingStrategy': processingStrategy!,
      if (recognitionOutputConfig != null)
        'recognitionOutputConfig': recognitionOutputConfig!,
      if (recognizer != null) 'recognizer': recognizer!,
    };