CustomerCreatedEvent class final

Occurs whenever a new customer is created.

Implemented types

Constructors

CustomerCreatedEvent({required Customer object})
Occurs whenever a new customer is created.
const
CustomerCreatedEvent.fromJson(Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
object Customer
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final

Methods

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

Operators

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

Static Methods

encode<V>(CustomerCreatedEvent instance, Encoder<V> encoder) → V
override