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