DomainMappingStatus.fromJson constructor

DomainMappingStatus.fromJson(
  1. Map json_
)

Implementation

DomainMappingStatus.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,
        mappedRouteName: json_.containsKey('mappedRouteName')
            ? json_['mappedRouteName'] as core.String
            : null,
        observedGeneration: json_.containsKey('observedGeneration')
            ? json_['observedGeneration'] as core.int
            : null,
        resourceRecords: json_.containsKey('resourceRecords')
            ? (json_['resourceRecords'] as core.List)
                .map((value) => ResourceRecord.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );