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