LookupRequest.fromJson constructor

LookupRequest.fromJson(Map _json)

Implementation

LookupRequest.fromJson(core.Map _json) {
  if (_json.containsKey("keys")) {
    keys = (_json["keys"] as core.List)
        .map<Key>((value) => new Key.fromJson(value))
        .toList();
  }
  if (_json.containsKey("readOptions")) {
    readOptions = new ReadOptions.fromJson(_json["readOptions"]);
  }
}