Notifications class
Indicates if the object needs to have notification enabled.
We support only one of ExpiryNotification/UpcomingNotification.
expiryNotification
takes precedence over upcomingNotification
. In other
words if expiryNotification
is set, we ignore the upcomingNotification
field.
Constructors
- Notifications({ExpiryNotification? expiryNotification, UpcomingNotification? upcomingNotification})
- Notifications.fromJson(Map json_)
Properties
- expiryNotification ↔ ExpiryNotification?
-
A notification would be triggered at a specific time before the card
expires.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upcomingNotification ↔ UpcomingNotification?
-
A notification would be triggered at a specific time before the card
becomes usable.
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