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