ProvisioningQuota.fromJson constructor

ProvisioningQuota.fromJson(
  1. Map json_
)

Implementation

ProvisioningQuota.fromJson(core.Map json_)
    : this(
        assetType: json_.containsKey('assetType')
            ? json_['assetType'] as core.String
            : null,
        availableCount: json_.containsKey('availableCount')
            ? json_['availableCount'] as core.int
            : null,
        gcpService: json_.containsKey('gcpService')
            ? json_['gcpService'] as core.String
            : null,
        instanceQuota: json_.containsKey('instanceQuota')
            ? InstanceQuota.fromJson(
                json_['instanceQuota'] as core.Map<core.String, core.dynamic>)
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        networkBandwidth: json_.containsKey('networkBandwidth')
            ? json_['networkBandwidth'] as core.String
            : null,
        serverCount: json_.containsKey('serverCount')
            ? json_['serverCount'] as core.String
            : null,
        storageGib: json_.containsKey('storageGib')
            ? json_['storageGib'] as core.String
            : null,
      );