mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 04:59:33 +00:00
81e799c514
Add Phone service entity
23 lines
491 B
Dart
23 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;
|
|
}
|