TerraformBlueprint.fromJson constructor

TerraformBlueprint.fromJson(
  1. Map json_
)

Implementation

TerraformBlueprint.fromJson(core.Map json_)
    : this(
        gcsSource: json_.containsKey('gcsSource')
            ? json_['gcsSource'] as core.String
            : null,
        gitSource: json_.containsKey('gitSource')
            ? GitSource.fromJson(
                json_['gitSource'] as core.Map<core.String, core.dynamic>)
            : null,
        inputValues: json_.containsKey('inputValues')
            ? (json_['inputValues'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  TerraformVariable.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );