EnvironmentVariable.fromJson constructor

EnvironmentVariable.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EnvironmentVariable.fromJson(Map<String, dynamic> json) {
  return EnvironmentVariable(
    name: json['name'] as String,
    value: json['value'] as String,
    type: (json['type'] as String?)?.toEnvironmentVariableType(),
  );
}