lukas-heiligenbrunner
600c2057fe
load build data to graph redesign top info tiles place add button on header folder restructure
22 lines
439 B
Dart
22 lines
439 B
Dart
class Package {
|
|
final int id;
|
|
final String name;
|
|
final int count;
|
|
final int status;
|
|
|
|
Package(
|
|
{required this.id,
|
|
required this.name,
|
|
required this.count,
|
|
required this.status});
|
|
|
|
factory Package.fromJson(Map<String, dynamic> json) {
|
|
return Package(
|
|
id: json["id"] as int,
|
|
count: json["count"] as int,
|
|
status: json["status"] as int,
|
|
name: json["name"] as String,
|
|
);
|
|
}
|
|
}
|