PaymentLinkCreatedEvent.fromJson constructor

PaymentLinkCreatedEvent.fromJson(
  1. Object? json
)

Implementation

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