This commit is contained in:
Odein
2023-11-22 14:53:35 +04:30
parent 22d0390e90
commit cd3b1080f5
298 changed files with 800 additions and 413 deletions
Regular → Executable
+29 -9
View File
@@ -5,20 +5,14 @@ class MyPackageResultObject extends Equatable {
final String name;
final String createdAt;
final String? userName;
final String? fromDate;
final String? toDate;
final String? requestId;
final String? userHistory;
MyPackageResultObject({
required this.id,
required this.name,
required this.createdAt,
this.userName,
this.fromDate,
this.toDate,
this.requestId,
this.userHistory,
});
@override
@@ -27,10 +21,7 @@ class MyPackageResultObject extends Equatable {
name,
createdAt,
userName!,
fromDate!,
toDate!,
requestId!,
userHistory!,
];
@override
@@ -60,3 +51,32 @@ class MyPackageFilterObject extends Equatable {
@override
bool get stringify => true;
}
class PackageHistoryObject extends Equatable {
final String fromDate;
final String toDate;
final String userHistoryName;
final String userHistoryId;
final String userHistoryPhon;
PackageHistoryObject({
required this.fromDate,
required this.toDate,
required this.userHistoryName,
required this.userHistoryId,
required this.userHistoryPhon,
});
@override
List<Object> get props {
return [
fromDate,
toDate,
userHistoryName,
userHistoryId,
userHistoryPhon,
];
}
@override
bool get stringify => true;
}