TerraformVersion.fromJson constructor

TerraformVersion.fromJson(
  1. Map json_
)

Implementation

TerraformVersion.fromJson(core.Map json_)
    : this(
        deprecateTime: json_.containsKey('deprecateTime')
            ? json_['deprecateTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        obsoleteTime: json_.containsKey('obsoleteTime')
            ? json_['obsoleteTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        supportTime: json_.containsKey('supportTime')
            ? json_['supportTime'] as core.String
            : null,
      );