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