CanceledStateContext class

Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED state.

Constructors

CanceledStateContext({DeveloperInitiatedCancellation? developerInitiatedCancellation, ReplacementCancellation? replacementCancellation, SystemInitiatedCancellation? systemInitiatedCancellation, UserInitiatedCancellation? userInitiatedCancellation})
CanceledStateContext.fromJson(Map json_)

Properties

developerInitiatedCancellation DeveloperInitiatedCancellation?
Subscription was canceled by the developer.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
replacementCancellation ReplacementCancellation?
Subscription was replaced by a new subscription.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemInitiatedCancellation SystemInitiatedCancellation?
Subscription was canceled by the system, for example because of a billing problem.
getter/setter pair
userInitiatedCancellation UserInitiatedCancellation?
Subscription was canceled by user.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited