CloudRunConfig.fromJson constructor

CloudRunConfig.fromJson(
  1. Map json_
)

Implementation

CloudRunConfig.fromJson(core.Map json_)
    : this(
        automaticTrafficControl: json_.containsKey('automaticTrafficControl')
            ? json_['automaticTrafficControl'] as core.bool
            : null,
        canaryRevisionTags: json_.containsKey('canaryRevisionTags')
            ? (json_['canaryRevisionTags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        priorRevisionTags: json_.containsKey('priorRevisionTags')
            ? (json_['priorRevisionTags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        stableRevisionTags: json_.containsKey('stableRevisionTags')
            ? (json_['stableRevisionTags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );