SubscriptionApi class
Constructors
- SubscriptionApi(Client? client, String deviceId)
Properties
- client → Client
-
provide a custom
Clientfor all HTTP requestsfinal - deviceId → String
-
a 16 character hex String persistent across the sessions
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
logout(
String deviceToken) → Future< void> -
removes a ticket (identified by the
deviceToken) from your local device -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshMultiple(
RefreshData refreshData) → Future< TicketResponse> - checks for updates of a subscription
-
searchSubscription(
{required String subscriptionNumber, required String name}) → Future< TicketResponse> - searches for a subscription
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generateDeviceId(
) → String - generates a new String matching a deviceId