toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (changedText != null) 'changedText': changedText!,
      if (provenance != null)
        'provenance': provenance!.map((value) => value.toJson()).toList(),
      if (textAnchor != null) 'textAnchor': textAnchor!.toJson(),
    };