BooksAnnotationsRange.fromJson constructor

BooksAnnotationsRange.fromJson(
  1. Map json_
)

Implementation

BooksAnnotationsRange.fromJson(core.Map json_)
    : this(
        endOffset: json_.containsKey('endOffset')
            ? json_['endOffset'] as core.String
            : null,
        endPosition: json_.containsKey('endPosition')
            ? json_['endPosition'] as core.String
            : null,
        startOffset: json_.containsKey('startOffset')
            ? json_['startOffset'] as core.String
            : null,
        startPosition: json_.containsKey('startPosition')
            ? json_['startPosition'] as core.String
            : null,
      );