ApplyResults.fromJson constructor

ApplyResults.fromJson(
  1. Map json_
)

Implementation

ApplyResults.fromJson(core.Map json_)
    : this(
        artifacts: json_.containsKey('artifacts')
            ? json_['artifacts'] as core.String
            : null,
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        outputs: json_.containsKey('outputs')
            ? (json_['outputs'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  TerraformOutput.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );