aurcache/frontend/lib/models/aur_package.dart

13 lines
283 B
Dart
Raw Normal View History

class AurPackage {
final String name, version;
AurPackage({required this.name, required this.version});
factory AurPackage.fromJson(Map<String, dynamic> json) {
return AurPackage(
name: json["name"] as String,
version: json["version"] as String,
);
}
}