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