first commit
This commit is contained in:
20
lib/Screens/party ledger/model/party_leder_filer_param.dart
Normal file
20
lib/Screens/party ledger/model/party_leder_filer_param.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
class PartyLedgerFilterParam {
|
||||
final String partyId;
|
||||
final String? duration;
|
||||
|
||||
PartyLedgerFilterParam({
|
||||
required this.partyId,
|
||||
this.duration,
|
||||
});
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is PartyLedgerFilterParam &&
|
||||
runtimeType == other.runtimeType &&
|
||||
partyId == other.partyId &&
|
||||
duration == other.duration;
|
||||
|
||||
@override
|
||||
int get hashCode => partyId.hashCode ^ duration.hashCode;
|
||||
}
|
||||
Reference in New Issue
Block a user