PaymentMethodAutomaticallyUpdatedEvent.fromJson constructor

PaymentMethodAutomaticallyUpdatedEvent.fromJson(
  1. Object? json
)

Implementation

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