cake_wallet/lib/entities/cake_phone_entities/phone_number_service.dart
OmarHatem28 81e799c514 Add Active Services page UI
Add Phone service entity
2022-07-05 17:34:16 +02:00

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;
}