|
@@ -126,6 +126,7 @@ class BillingPlan {
|
|
final String id;
|
|
final String id;
|
|
final String androidID;
|
|
final String androidID;
|
|
final String iosID;
|
|
final String iosID;
|
|
|
|
+ final String stripeID;
|
|
final int storage;
|
|
final int storage;
|
|
final String price;
|
|
final String price;
|
|
final String period;
|
|
final String period;
|
|
@@ -134,6 +135,7 @@ class BillingPlan {
|
|
this.id,
|
|
this.id,
|
|
this.androidID,
|
|
this.androidID,
|
|
this.iosID,
|
|
this.iosID,
|
|
|
|
+ this.stripeID,
|
|
this.storage,
|
|
this.storage,
|
|
this.price,
|
|
this.price,
|
|
this.period,
|
|
this.period,
|
|
@@ -143,6 +145,7 @@ class BillingPlan {
|
|
String id,
|
|
String id,
|
|
String androidID,
|
|
String androidID,
|
|
String iosID,
|
|
String iosID,
|
|
|
|
+ String stripeID,
|
|
int storage,
|
|
int storage,
|
|
String price,
|
|
String price,
|
|
String period,
|
|
String period,
|
|
@@ -151,6 +154,7 @@ class BillingPlan {
|
|
id: id ?? this.id,
|
|
id: id ?? this.id,
|
|
androidID: androidID ?? this.androidID,
|
|
androidID: androidID ?? this.androidID,
|
|
iosID: iosID ?? this.iosID,
|
|
iosID: iosID ?? this.iosID,
|
|
|
|
+ stripeID: stripeID ?? this.stripeID,
|
|
storage: storage ?? this.storage,
|
|
storage: storage ?? this.storage,
|
|
price: price ?? this.price,
|
|
price: price ?? this.price,
|
|
period: period ?? this.period,
|
|
period: period ?? this.period,
|
|
@@ -162,6 +166,7 @@ class BillingPlan {
|
|
'id': id,
|
|
'id': id,
|
|
'androidID': androidID,
|
|
'androidID': androidID,
|
|
'iosID': iosID,
|
|
'iosID': iosID,
|
|
|
|
+ 'stripeID': stripeID,
|
|
'storage': storage,
|
|
'storage': storage,
|
|
'price': price,
|
|
'price': price,
|
|
'period': period,
|
|
'period': period,
|
|
@@ -175,6 +180,7 @@ class BillingPlan {
|
|
id: map['id'],
|
|
id: map['id'],
|
|
androidID: map['androidID'],
|
|
androidID: map['androidID'],
|
|
iosID: map['iosID'],
|
|
iosID: map['iosID'],
|
|
|
|
+ stripeID: map['stripeID'],
|
|
storage: map['storage'],
|
|
storage: map['storage'],
|
|
price: map['price'],
|
|
price: map['price'],
|
|
period: map['period'],
|
|
period: map['period'],
|
|
@@ -188,7 +194,7 @@ class BillingPlan {
|
|
|
|
|
|
@override
|
|
@override
|
|
String toString() {
|
|
String toString() {
|
|
- return 'BillingPlan(id: $id, androidID: $androidID, iosID: $iosID, storage: $storage, price: $price, period: $period)';
|
|
|
|
|
|
+ return 'BillingPlan(id: $id, androidID: $androidID, iosID: $iosID, stripeID: $stripeID, storage: $storage, price: $price, period: $period)';
|
|
}
|
|
}
|
|
|
|
|
|
@override
|
|
@override
|
|
@@ -199,6 +205,7 @@ class BillingPlan {
|
|
o.id == id &&
|
|
o.id == id &&
|
|
o.androidID == androidID &&
|
|
o.androidID == androidID &&
|
|
o.iosID == iosID &&
|
|
o.iosID == iosID &&
|
|
|
|
+ o.stripeID == stripeID &&
|
|
o.storage == storage &&
|
|
o.storage == storage &&
|
|
o.price == price &&
|
|
o.price == price &&
|
|
o.period == period;
|
|
o.period == period;
|
|
@@ -209,6 +216,7 @@ class BillingPlan {
|
|
return id.hashCode ^
|
|
return id.hashCode ^
|
|
androidID.hashCode ^
|
|
androidID.hashCode ^
|
|
iosID.hashCode ^
|
|
iosID.hashCode ^
|
|
|
|
+ stripeID.hashCode ^
|
|
storage.hashCode ^
|
|
storage.hashCode ^
|
|
price.hashCode ^
|
|
price.hashCode ^
|
|
period.hashCode;
|
|
period.hashCode;
|