|
@@ -4,7 +4,7 @@ class BillingPlan {
|
|
final String id;
|
|
final String id;
|
|
final String androidID;
|
|
final String androidID;
|
|
final String iosID;
|
|
final String iosID;
|
|
- final int storageInMBs;
|
|
|
|
|
|
+ final int storage;
|
|
final String price;
|
|
final String price;
|
|
final String period;
|
|
final String period;
|
|
|
|
|
|
@@ -12,7 +12,7 @@ class BillingPlan {
|
|
this.id,
|
|
this.id,
|
|
this.androidID,
|
|
this.androidID,
|
|
this.iosID,
|
|
this.iosID,
|
|
- this.storageInMBs,
|
|
|
|
|
|
+ this.storage,
|
|
this.price,
|
|
this.price,
|
|
this.period,
|
|
this.period,
|
|
});
|
|
});
|
|
@@ -29,7 +29,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,
|
|
- storageInMBs: storageInMBs ?? this.storageInMBs,
|
|
|
|
|
|
+ storage: storageInMBs ?? this.storage,
|
|
price: price ?? this.price,
|
|
price: price ?? this.price,
|
|
period: period ?? this.period,
|
|
period: period ?? this.period,
|
|
);
|
|
);
|
|
@@ -40,7 +40,7 @@ class BillingPlan {
|
|
'id': id,
|
|
'id': id,
|
|
'androidID': androidID,
|
|
'androidID': androidID,
|
|
'iosID': iosID,
|
|
'iosID': iosID,
|
|
- 'storageInMBs': storageInMBs,
|
|
|
|
|
|
+ 'storage': storage,
|
|
'price': price,
|
|
'price': price,
|
|
'period': period,
|
|
'period': period,
|
|
};
|
|
};
|
|
@@ -53,7 +53,7 @@ class BillingPlan {
|
|
id: map['id'],
|
|
id: map['id'],
|
|
androidID: map['androidID'],
|
|
androidID: map['androidID'],
|
|
iosID: map['iosID'],
|
|
iosID: map['iosID'],
|
|
- storageInMBs: map['storageInMBs'],
|
|
|
|
|
|
+ storage: map['storage'],
|
|
price: map['price'],
|
|
price: map['price'],
|
|
period: map['period'],
|
|
period: map['period'],
|
|
);
|
|
);
|
|
@@ -66,7 +66,7 @@ class BillingPlan {
|
|
|
|
|
|
@override
|
|
@override
|
|
String toString() {
|
|
String toString() {
|
|
- return 'BillingPlan(id: $id, androidID: $androidID, iosID: $iosID, storageInMBs: $storageInMBs, price: $price, period: $period)';
|
|
|
|
|
|
+ return 'BillingPlan(id: $id, androidID: $androidID, iosID: $iosID, storage: $storage, price: $price, period: $period)';
|
|
}
|
|
}
|
|
|
|
|
|
@override
|
|
@override
|
|
@@ -77,7 +77,7 @@ class BillingPlan {
|
|
o.id == id &&
|
|
o.id == id &&
|
|
o.androidID == androidID &&
|
|
o.androidID == androidID &&
|
|
o.iosID == iosID &&
|
|
o.iosID == iosID &&
|
|
- o.storageInMBs == storageInMBs &&
|
|
|
|
|
|
+ o.storage == storage &&
|
|
o.price == price &&
|
|
o.price == price &&
|
|
o.period == period;
|
|
o.period == period;
|
|
}
|
|
}
|
|
@@ -87,7 +87,7 @@ class BillingPlan {
|
|
return id.hashCode ^
|
|
return id.hashCode ^
|
|
androidID.hashCode ^
|
|
androidID.hashCode ^
|
|
iosID.hashCode ^
|
|
iosID.hashCode ^
|
|
- storageInMBs.hashCode ^
|
|
|
|
|
|
+ storage.hashCode ^
|
|
price.hashCode ^
|
|
price.hashCode ^
|
|
period.hashCode;
|
|
period.hashCode;
|
|
}
|
|
}
|