EnvironmentResponse.fromJson constructor
Implementation
factory EnvironmentResponse.fromJson(Map<String, dynamic> json) {
return EnvironmentResponse(
error: json['Error'] != null
? EnvironmentError.fromJson(json['Error'] as Map<String, dynamic>)
: null,
variables: (json['Variables'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
);
}