SuperchargeConfigOptionsCallbacks constructor
SuperchargeConfigOptionsCallbacks(
{ - Future<Bool> handleAuthorizeTransaction(
- String fromAddress,
- String networkCode,
- String amount
)?,
- Future<Map<String, dynamic>> handleOrderFeeCalculation(
- String asset,
- String networkCode,
- String amount
)?,
- Future<Map<String, String>> onAddressRequested(
- String asset,
- String network
)?,
- Future<void> onFailure(
- String error,
- String networkCode,
- String? address
)?,
- Future<void> onOrderCreated(
- String orderId,
- String type
)?,
- Future<void> onSuccess(
- String txHash,
- String networkCode,
- String? address
)?,
})
Implementation
SuperchargeConfigOptionsCallbacks({
this.handleAuthorizeTransaction,
this.handleOrderFeeCalculation,
this.onAddressRequested,
this.onFailure,
this.onOrderCreated,
this.onSuccess,
});