Subscriber class

The subscriber to a budget notification. The subscriber consists of a subscription type and either an Amazon SNS topic or an email address.

For example, an email subscriber would have the following parameters:

  • A subscriptionType of EMAIL
  • An address of example@example.com

Constructors

Subscriber({required String address, required SubscriptionType subscriptionType})
Subscriber.fromJson(Map<String, dynamic> json)
factory

Properties

address String
The address that AWS sends budget notifications to, either an SNS topic or an email.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionType SubscriptionType
The type of notification that AWS sends to a subscriber.
final

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