Event<T extends Message> class abstract

Inheritance
Implementers

Constructors

Event({required _EventObject object, required String id, required EventData<T> data, required String type})

Properties

data EventData<T>
Object containing data associated with the event.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for the object.
final
object → _EventObject
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Description of the event (e.g., invoice.created or charge.refunded).
final

Methods

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

Operators

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

Static Methods

fromJson<T extends Event<Message>>(Map<String, dynamic> json) → T