ProfileSummary.fromJson constructor

ProfileSummary.fromJson(Map _json)

Implementation

ProfileSummary.fromJson(core.Map _json) {
  if (_json.containsKey("id")) {
    id = _json["id"];
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("name")) {
    name = _json["name"];
  }
  if (_json.containsKey("starred")) {
    starred = _json["starred"];
  }
  if (_json.containsKey("type")) {
    type = _json["type"];
  }
}