import 'package:equatable/equatable.dart'; class MyPackageResultObject extends Equatable { final String id; 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 List get props => [ id, name, createdAt, userName!, fromDate!, toDate!, requestId!, userHistory!, ]; @override bool get stringify => true; } class MyPackageFilterObject extends Equatable { final String id; final String name; // final String udi; MyPackageFilterObject({ required this.id, required this.name, // required this.udi, }); @override List get props { return [ id, name, // udi, ]; } @override bool get stringify => true; }