Tier.fromJson constructor

Tier.fromJson(
  1. Map _json
)

Implementation

Tier.fromJson(core.Map _json)
    : this(
        DiskQuota: _json.containsKey('DiskQuota')
            ? _json['DiskQuota'] as core.String
            : null,
        RAM: _json.containsKey('RAM') ? _json['RAM'] as core.String : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        region: _json.containsKey('region')
            ? (_json['region'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        tier: _json.containsKey('tier') ? _json['tier'] as core.String : null,
      );