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