2023-12-29 17:13:51 +00:00
|
|
|
class Build {
|
|
|
|
final int id;
|
|
|
|
final String pkg_name;
|
|
|
|
final String version;
|
|
|
|
final int status;
|
|
|
|
|
|
|
|
Build(
|
2023-12-29 23:45:33 +00:00
|
|
|
{required this.id,
|
|
|
|
required this.pkg_name,
|
|
|
|
required this.version,
|
|
|
|
required this.status});
|
2023-12-29 17:13:51 +00:00
|
|
|
|
|
|
|
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,
|
|
|
|
);
|
|
|
|
}
|
2023-12-29 23:45:33 +00:00
|
|
|
}
|