mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-12 22:04:54 +00:00
24 lines
491 B
Dart
24 lines
491 B
Dart
|
class PhoneNumberService {
|
||
|
const PhoneNumberService({
|
||
|
this.id,
|
||
|
this.phoneNumber,
|
||
|
this.planId,
|
||
|
this.usedUntil,
|
||
|
this.messageReceiveEnabled,
|
||
|
this.autoRenew,
|
||
|
});
|
||
|
|
||
|
final String id;
|
||
|
final String phoneNumber;
|
||
|
final String planId;
|
||
|
final DateTime usedUntil;
|
||
|
final bool messageReceiveEnabled;
|
||
|
final bool autoRenew;
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) => other is PhoneNumberService && other.id == id;
|
||
|
|
||
|
@override
|
||
|
int get hashCode => id.hashCode;
|
||
|
}
|