WorkloadProperties.fromJson constructor

WorkloadProperties.fromJson(
  1. Map json_
)

Implementation

WorkloadProperties.fromJson(core.Map json_)
    : this(
        gcpProject: json_.containsKey('gcpProject')
            ? json_['gcpProject'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );