toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (afterSelectedText != null) 'afterSelectedText': afterSelectedText!,
      if (beforeSelectedText != null)
        'beforeSelectedText': beforeSelectedText!,
      if (clientVersionRanges != null)
        'clientVersionRanges': clientVersionRanges!,
      if (created != null) 'created': created!,
      if (currentVersionRanges != null)
        'currentVersionRanges': currentVersionRanges!,
      if (data != null) 'data': data!,
      if (deleted != null) 'deleted': deleted!,
      if (highlightStyle != null) 'highlightStyle': highlightStyle!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (layerId != null) 'layerId': layerId!,
      if (layerSummary != null) 'layerSummary': layerSummary!,
      if (pageIds != null) 'pageIds': pageIds!,
      if (selectedText != null) 'selectedText': selectedText!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (updated != null) 'updated': updated!,
      if (volumeId != null) 'volumeId': volumeId!,
    };