GoogleCloudRunV2TrafficTargetStatus.fromJson constructor

GoogleCloudRunV2TrafficTargetStatus.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2TrafficTargetStatus.fromJson(core.Map json_)
    : this(
        percent: json_.containsKey('percent')
            ? json_['percent'] as core.int
            : null,
        revision: json_.containsKey('revision')
            ? json_['revision'] as core.String
            : null,
        tag: json_.containsKey('tag') ? json_['tag'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );