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