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