GoogleCloudRunV2HTTPGetAction.fromJson constructor

GoogleCloudRunV2HTTPGetAction.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2HTTPGetAction.fromJson(core.Map json_)
    : this(
        httpHeaders: json_.containsKey('httpHeaders')
            ? (json_['httpHeaders'] as core.List)
                .map((value) => GoogleCloudRunV2HTTPHeader.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
      );