AnnotationCurrentVersionRanges.fromJson constructor

AnnotationCurrentVersionRanges.fromJson(
  1. Map json_
)

Implementation

AnnotationCurrentVersionRanges.fromJson(core.Map json_)
    : this(
        cfiRange: json_.containsKey('cfiRange')
            ? BooksAnnotationsRange.fromJson(
                json_['cfiRange'] as core.Map<core.String, core.dynamic>)
            : null,
        contentVersion: json_.containsKey('contentVersion')
            ? json_['contentVersion'] as core.String
            : null,
        gbImageRange: json_.containsKey('gbImageRange')
            ? BooksAnnotationsRange.fromJson(
                json_['gbImageRange'] as core.Map<core.String, core.dynamic>)
            : null,
        gbTextRange: json_.containsKey('gbTextRange')
            ? BooksAnnotationsRange.fromJson(
                json_['gbTextRange'] as core.Map<core.String, core.dynamic>)
            : null,
        imageCfiRange: json_.containsKey('imageCfiRange')
            ? BooksAnnotationsRange.fromJson(
                json_['imageCfiRange'] as core.Map<core.String, core.dynamic>)
            : null,
      );