SubscriptionModel class

Constructors

SubscriptionModel({required String id, bool? suspended, String? planIdentifier, int? priceCents, String? currency, SubscriptionFeatures? features, Object? expiresAt, String? createdAt, String? updatedAt, String? customerName, String? customerEmail, Object? cycledAt, int? creditsMin, Object? creditsCycle, String? customerId, String? planName, String? customerRef, String? planRef, bool? active, Object? inTrial, int? credits, bool? creditsBased, Object? recentInvoices, List<SubscriptionSubitem>? subitems, List<SubscriptionLog>? logs, List<CustomVariables>? customVariables})
SubscriptionModel.fromJson(String source)
factory
SubscriptionModel.fromMap(Map<String, dynamic> map)
factory

Properties

active bool?
getter/setter pair
createdAt String?
getter/setter pair
credits int?
getter/setter pair
creditsBased bool?
getter/setter pair
creditsCycle Object?
getter/setter pair
creditsMin int?
getter/setter pair
currency String?
getter/setter pair
customerEmail String?
getter/setter pair
customerId String?
getter/setter pair
customerName String?
getter/setter pair
customerRef String?
getter/setter pair
customVariables List<CustomVariables>?
getter/setter pair
cycledAt Object?
getter/setter pair
expiresAt Object?
getter/setter pair
features SubscriptionFeatures?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
inTrial Object?
getter/setter pair
logs List<SubscriptionLog>?
getter/setter pair
planIdentifier String?
getter/setter pair
planName String?
getter/setter pair
planRef String?
getter/setter pair
priceCents int?
getter/setter pair
recentInvoices Object?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subitems List<SubscriptionSubitem>?
getter/setter pair
suspended bool?
getter/setter pair
updatedAt String?
getter/setter pair

Methods

copyWith({String? id, bool? suspended, String? planIdentifier, int? priceCents, String? currency, SubscriptionFeatures? features, Object? expiresAt, String? createdAt, String? updatedAt, String? customerName, String? customerEmail, Object? cycledAt, int? creditsMin, Object? creditsCycle, String? customerId, String? planName, String? customerRef, String? planRef, bool? active, Object? inTrial, int? credits, bool? creditsBased, Object? recentInvoices, List<SubscriptionSubitem>? subitems, List<SubscriptionLog>? logs, List<CustomVariables>? customVariables}) SubscriptionModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override