InstanceQuota.fromJson constructor

InstanceQuota.fromJson(
  1. Map json_
)

Implementation

InstanceQuota.fromJson(core.Map json_)
    : this(
        availableMachineCount: json_.containsKey('availableMachineCount')
            ? json_['availableMachineCount'] as core.int
            : null,
        gcpService: json_.containsKey('gcpService')
            ? json_['gcpService'] as core.String
            : null,
        instanceType: json_.containsKey('instanceType')
            ? json_['instanceType'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );