Image.fromJson constructor

Image.fromJson(Map _json)

Implementation

Image.fromJson(core.Map _json) {
  if (_json.containsKey("id")) {
    id = _json["id"];
  }
  if (_json.containsKey("sha1")) {
    sha1 = _json["sha1"];
  }
  if (_json.containsKey("url")) {
    url = _json["url"];
  }
}