This commit is contained in:
Odein
2023-10-28 15:25:31 +04:30
parent eab99539d5
commit 92d6024cb1
11 changed files with 181 additions and 65 deletions
+6
View File
@@ -7,6 +7,8 @@ class MyItemResultObject extends Equatable {
final String? userName;
final String? fromDate;
final String? toDate;
final String? requestId;
final String? userHistory;
MyItemResultObject({
required this.id,
@@ -15,6 +17,8 @@ class MyItemResultObject extends Equatable {
this.userName,
this.fromDate,
this.toDate,
this.requestId,
this.userHistory,
});
@override
@@ -25,6 +29,8 @@ class MyItemResultObject extends Equatable {
userName!,
fromDate!,
toDate!,
requestId!,
userHistory!,
];
@override
+9 -3
View File
@@ -3,28 +3,34 @@ import 'package:equatable/equatable.dart';
class MyPackageResultObject extends Equatable {
final String id;
final String name;
final List<String>? items;
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.items,
this.requestId,
this.userHistory,
});
@override
List<Object> get props => [
id,
name,
items!,
createdAt,
userName!,
fromDate!,
toDate!,
requestId!,
userHistory!,
];
@override