Volumeannotation.fromJson constructor

Volumeannotation.fromJson(
  1. Map json_
)

Implementation

Volumeannotation.fromJson(core.Map json_)
  : this(
      annotationDataId: json_['annotationDataId'] as core.String?,
      annotationDataLink: json_['annotationDataLink'] as core.String?,
      annotationType: json_['annotationType'] as core.String?,
      contentRanges:
          json_.containsKey('contentRanges')
              ? VolumeannotationContentRanges.fromJson(
                json_['contentRanges'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      data: json_['data'] as core.String?,
      deleted: json_['deleted'] as core.bool?,
      id: json_['id'] as core.String?,
      kind: json_['kind'] as core.String?,
      layerId: json_['layerId'] as core.String?,
      pageIds:
          (json_['pageIds'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      selectedText: json_['selectedText'] as core.String?,
      selfLink: json_['selfLink'] as core.String?,
      updated: json_['updated'] as core.String?,
      volumeId: json_['volumeId'] as core.String?,
    );