CustomerUpdatedEvent.fromJson constructor
CustomerUpdatedEvent.fromJson(
- Object? json
Implementation
factory CustomerUpdatedEvent.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return CustomerUpdatedEvent(object: Customer.fromJson(map['object']));
}