toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (confidence != null) 'confidence': confidence!,
      if (id != null) 'id': id!,
      if (mentionId != null) 'mentionId': mentionId!,
      if (mentionText != null) 'mentionText': mentionText!,
      if (normalizedValue != null) 'normalizedValue': normalizedValue!,
      if (pageAnchor != null) 'pageAnchor': pageAnchor!,
      if (properties != null) 'properties': properties!,
      if (provenance != null) 'provenance': provenance!,
      if (redacted != null) 'redacted': redacted!,
      if (textAnchor != null) 'textAnchor': textAnchor!,
      if (type != null) 'type': type!,
    };