ConfigurationStatus.fromJson constructor

ConfigurationStatus.fromJson(
  1. Map json_
)

Implementation

ConfigurationStatus.fromJson(core.Map json_)
    : this(
        conditions: json_.containsKey('conditions')
            ? (json_['conditions'] as core.List)
                .map((value) => GoogleCloudRunV1Condition.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        latestCreatedRevisionName:
            json_.containsKey('latestCreatedRevisionName')
                ? json_['latestCreatedRevisionName'] as core.String
                : null,
        latestReadyRevisionName: json_.containsKey('latestReadyRevisionName')
            ? json_['latestReadyRevisionName'] as core.String
            : null,
        observedGeneration: json_.containsKey('observedGeneration')
            ? json_['observedGeneration'] as core.int
            : null,
      );