Stage.fromJson constructor

Stage.fromJson(
  1. Map json_
)

Implementation

Stage.fromJson(core.Map json_)
    : this(
        deployParameters: json_.containsKey('deployParameters')
            ? (json_['deployParameters'] as core.List)
                .map((value) => DeployParameters.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        profiles: json_.containsKey('profiles')
            ? (json_['profiles'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        strategy: json_.containsKey('strategy')
            ? Strategy.fromJson(
                json_['strategy'] as core.Map<core.String, core.dynamic>)
            : null,
        targetId: json_.containsKey('targetId')
            ? json_['targetId'] as core.String
            : null,
      );