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
+30 -9
View File
@@ -1,3 +1,4 @@
// ignore_for_file: public_member_api_docs, sort_constructors_first
import 'package:equatable/equatable.dart';
class MyItemResultObject extends Equatable {
@@ -5,20 +6,14 @@ class MyItemResultObject extends Equatable {
final String name;
final String size;
final String? userName;
final String? fromDate;
final String? toDate;
final String? requestId;
final String? userHistory;
MyItemResultObject({
required this.id,
required this.name,
required this.size,
this.userName,
this.fromDate,
this.toDate,
this.requestId,
this.userHistory,
});
@override
@@ -27,10 +22,7 @@ class MyItemResultObject extends Equatable {
name,
size,
userName!,
fromDate!,
toDate!,
requestId!,
userHistory!,
];
@override
@@ -66,3 +58,32 @@ class MyItemFilterObject extends Equatable {
@override
bool get stringify => true;
}
class ItemHistoryObject extends Equatable {
final String fromDate;
final String toDate;
final String userHistoryName;
final String userHistoryId;
final String userHistoryPhon;
ItemHistoryObject({
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;
}