toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (correctedKeyText != null) 'correctedKeyText': correctedKeyText!,
      if (correctedValueText != null)
        'correctedValueText': correctedValueText!,
      if (fieldName != null) 'fieldName': fieldName!,
      if (fieldValue != null) 'fieldValue': fieldValue!,
      if (nameDetectedLanguages != null)
        'nameDetectedLanguages': nameDetectedLanguages!,
      if (provenance != null) 'provenance': provenance!,
      if (valueDetectedLanguages != null)
        'valueDetectedLanguages': valueDetectedLanguages!,
      if (valueType != null) 'valueType': valueType!,
    };