EnvironmentResource.fromJson constructor
Implementation
factory EnvironmentResource.fromJson(Map<String, dynamic> json) {
return EnvironmentResource(
kind: _parseEnvironmentKind(json['kind'] as String),
environmentId: json['environment_id'] as String,
name: json['name'] as String,
createdAt: json['created_at'] as String,
state: EnvironmentState.active,
);
}