KeyRange.fromJson constructor

KeyRange.fromJson(
  1. Map _json
)

Implementation

KeyRange.fromJson(core.Map _json) {
  if (_json.containsKey("endClosed")) {
    endClosed = (_json["endClosed"] as core.List).cast<core.Object>();
  }
  if (_json.containsKey("endOpen")) {
    endOpen = (_json["endOpen"] as core.List).cast<core.Object>();
  }
  if (_json.containsKey("startClosed")) {
    startClosed = (_json["startClosed"] as core.List).cast<core.Object>();
  }
  if (_json.containsKey("startOpen")) {
    startOpen = (_json["startOpen"] as core.List).cast<core.Object>();
  }
}