feat: add equality operators, make history screen paginated, random performance updates
This commit is contained in:
@@ -36,6 +36,21 @@ class UpdateInfo {
|
||||
download: json["download"] ?? "",
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is UpdateInfo &&
|
||||
update == other.update &&
|
||||
version == other.version &&
|
||||
notes == other.notes &&
|
||||
mandatory == other.mandatory &&
|
||||
sha256 == other.sha256 &&
|
||||
download == other.download;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
Object.hash(update, version, notes, mandatory, sha256, download);
|
||||
}
|
||||
|
||||
class AppUpdateUtil {
|
||||
|
||||
Reference in New Issue
Block a user