Cursor.fromJson constructor

Cursor.fromJson(Map _json)

Implementation

Cursor.fromJson(core.Map _json) {
  if (_json.containsKey("before")) {
    before = _json["before"];
  }
  if (_json.containsKey("values")) {
    values = (_json["values"] as core.List)
        .map<Value>((value) => new Value.fromJson(value))
        .toList();
  }
}