PayoutCanceledEvent.fromJson constructor

PayoutCanceledEvent.fromJson(
  1. Object? json
)

Implementation

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