AccountTreeResponse.fromJson constructor

AccountTreeResponse.fromJson(
  1. Map _json
)

Implementation

AccountTreeResponse.fromJson(core.Map _json) {
  if (_json.containsKey("account")) {
    account = new Account.fromJson(_json["account"]);
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("profile")) {
    profile = new Profile.fromJson(_json["profile"]);
  }
  if (_json.containsKey("webproperty")) {
    webproperty = new Webproperty.fromJson(_json["webproperty"]);
  }
}