BlueGreenInfo.fromJson constructor

BlueGreenInfo.fromJson(
  1. Map json_
)

Implementation

BlueGreenInfo.fromJson(core.Map json_)
    : this(
        blueInstanceGroupUrls: json_.containsKey('blueInstanceGroupUrls')
            ? (json_['blueInstanceGroupUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        bluePoolDeletionStartTime:
            json_.containsKey('bluePoolDeletionStartTime')
                ? json_['bluePoolDeletionStartTime'] as core.String
                : null,
        greenInstanceGroupUrls: json_.containsKey('greenInstanceGroupUrls')
            ? (json_['greenInstanceGroupUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        greenPoolVersion: json_.containsKey('greenPoolVersion')
            ? json_['greenPoolVersion'] as core.String
            : null,
        phase:
            json_.containsKey('phase') ? json_['phase'] as core.String : null,
      );