PayoutFailedEvent.fromJson constructor

PayoutFailedEvent.fromJson(
  1. Object? json
)

Implementation

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