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