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