mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 13:09:32 +00:00
22 lines
418 B
Dart
22 lines
418 B
Dart
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class ServicePlan {
|
||
|
const ServicePlan({
|
||
|
@required this.id,
|
||
|
@required this.duration,
|
||
|
@required this.price,
|
||
|
@required this.quantity,
|
||
|
});
|
||
|
|
||
|
final String id;
|
||
|
final int duration;
|
||
|
final int price;
|
||
|
final int quantity;
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) => other is ServicePlan && other.id == id;
|
||
|
|
||
|
@override
|
||
|
int get hashCode => id.hashCode;
|
||
|
}
|