add version field, installable app caching

This commit is contained in:
Andrew 2022-09-13 11:45:10 +07:00
parent 4833b5c18c
commit 2141e144be
7 changed files with 79 additions and 9 deletions

View file

@ -4,6 +4,8 @@ class ScoopAppModel extends Equatable {
final String name;
final String description;
final String bucket;
final String homepage;
final String version;
final DateTime updatedAt;
const ScoopAppModel({
@ -11,8 +13,11 @@ class ScoopAppModel extends Equatable {
required this.description,
required this.bucket,
required this.updatedAt,
required this.homepage,
required this.version,
});
@override
List<Object?> get props => [name, description, bucket, updatedAt];
List<Object?> get props =>
[name, description, bucket, homepage, version, updatedAt];
}