TerraformError.fromJson constructor
TerraformError.fromJson(
- Map json_
Implementation
TerraformError.fromJson(core.Map json_)
: this(
error: json_.containsKey('error')
? Status.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
errorDescription: json_.containsKey('errorDescription')
? json_['errorDescription'] as core.String
: null,
httpResponseCode: json_.containsKey('httpResponseCode')
? json_['httpResponseCode'] as core.int
: null,
resourceAddress: json_.containsKey('resourceAddress')
? json_['resourceAddress'] as core.String
: null,
);