AccountEvent class

Represents an account-related event.

Inheritance
Annotations

Constructors

AccountEvent({required String eventType, required Map<String, dynamic> accountInfo, required Map<String, dynamic> rawPayload})
Creates a new account event.
const
AccountEvent.fromJson(Map<String, dynamic> json)
Factory to create an account event from a webhook payload.
factory

Properties

accountInfo Map<String, dynamic>
Account information
final
eventType String
Type of account event
final
hashCode int
The hash code for this object.
no setterinherited
rawPayload Map<String, dynamic>
Raw JSON payload from the webhook
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type WebhookNotificationType
Type of the webhook notification
finalinherited

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