KeyRange.fromJson constructor

KeyRange.fromJson(
  1. Map json_
)

Implementation

KeyRange.fromJson(core.Map json_)
    : this(
        endClosed: json_.containsKey('endClosed')
            ? json_['endClosed'] as core.List
            : null,
        endOpen: json_.containsKey('endOpen')
            ? json_['endOpen'] as core.List
            : null,
        startClosed: json_.containsKey('startClosed')
            ? json_['startClosed'] as core.List
            : null,
        startOpen: json_.containsKey('startOpen')
            ? json_['startOpen'] as core.List
            : null,
      );