aurcache/frontend/lib/models/build.dart
lukas-heiligenbrunner 600c2057fe add endpoint for general stats
load build data to graph
redesign top info tiles
place add button on header
folder restructure
2023-12-30 00:45:33 +01:00

22 lines
461 B
Dart

class Build {
final int id;
final String pkg_name;
final String version;
final int status;
Build(
{required this.id,
required this.pkg_name,
required this.version,
required this.status});
factory Build.fromJson(Map<String, dynamic> json) {
return Build(
id: json["id"] as int,
status: json["status"] as int,
pkg_name: json["pkg_name"] as String,
version: json["version"] as String,
);
}
}