Subscription class
Subscription class. This class includes all Subscription entries.
Constructors
-
Subscription({required int id, required String subscriptionId, required int amount, required String currency, required String state, required String description, required String? callbackUrl, required Map<
String, dynamic> ? variables, required String createdAt, required String updatedAt}) - Subscription.fromMap(Map map)
-
Mapping from map to Subscription.
factory
Properties
- amount → int
-
final
- callbackUrl → String?
-
final
- createdAt → String
-
final
- currency → String
-
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
final
- subscriptionId → String
-
final
- updatedAt → String
-
final
-
variables
→ Map<
String, dynamic> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited