GoogleCloudMlV1Capability.fromJson constructor

GoogleCloudMlV1Capability.fromJson(
  1. Map json_
)

Implementation

GoogleCloudMlV1Capability.fromJson(core.Map json_)
    : this(
        availableAccelerators: json_.containsKey('availableAccelerators')
            ? (json_['availableAccelerators'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );