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