topup method
Future<(UResponse<UChargeInternetReserveResponse> ?, UEmptyResponse?, String?)>
topup({
- required UTopupChargeParams p,
- dynamic onOk()?,
- dynamic onError()?,
- dynamic onException(
- String e
Implementation
Future<(UResponse<UChargeInternetReserveResponse>?, UEmptyResponse?, String?)> topup({
required UTopupChargeParams p,
Function(UResponse<UChargeInternetReserveResponse> r)? onOk,
Function(UEmptyResponse e)? onError,
Function(String e)? onException,
}) => _Api.call("/ChargeInternet/Topup", p.toMap(), _Api.one(UChargeInternetReserveResponse.fromMap), _Api.empty, onOk, onError, onException);