toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final confidence = this.confidence;
  final id = this.id;
  final mentionId = this.mentionId;
  final mentionText = this.mentionText;
  final method = this.method;
  final normalizedValue = this.normalizedValue;
  final pageAnchor = this.pageAnchor;
  final properties = this.properties;
  final provenance = this.provenance;
  final redacted = this.redacted;
  final textAnchor = this.textAnchor;
  final type = this.type;
  return {
    'confidence': ?confidence,
    'id': ?id,
    'mentionId': ?mentionId,
    'mentionText': ?mentionText,
    'method': ?method,
    'normalizedValue': ?normalizedValue,
    'pageAnchor': ?pageAnchor,
    'properties': ?properties,
    'provenance': ?provenance,
    'redacted': ?redacted,
    'textAnchor': ?textAnchor,
    'type': ?type,
  };
}