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