GoogleCloudAiplatformV1ImageConfig.fromJson constructor

GoogleCloudAiplatformV1ImageConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ImageConfig.fromJson(core.Map json_)
  : this(
      aspectRatio: json_['aspectRatio'] as core.String?,
      imageOutputOptions: json_.containsKey('imageOutputOptions')
          ? GoogleCloudAiplatformV1ImageConfigImageOutputOptions.fromJson(
              json_['imageOutputOptions']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      imageSize: json_['imageSize'] as core.String?,
      personGeneration: json_['personGeneration'] as core.String?,
    );