GoogleCloudRunV2Condition.fromJson constructor

GoogleCloudRunV2Condition.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRunV2Condition.fromJson(core.Map json_)
    : this(
        executionReason: json_.containsKey('executionReason')
            ? json_['executionReason'] as core.String
            : null,
        lastTransitionTime: json_.containsKey('lastTransitionTime')
            ? json_['lastTransitionTime'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        revisionReason: json_.containsKey('revisionReason')
            ? json_['revisionReason'] as core.String
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );