GoogleCloudMlV1Location.fromJson constructor

GoogleCloudMlV1Location.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1Location.fromJson(core.Map json_)
    : this(
        capabilities: json_.containsKey('capabilities')
            ? (json_['capabilities'] as core.List)
                .map((value) => GoogleCloudMlV1Capability.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );