redeemSwap method

Future<void> redeemSwap({
  1. required String swapAddress,
  2. dynamic hint,
})
override

See BreezServices::redeem_swap

Implementation

Future<void> redeemSwap({required String swapAddress, dynamic hint}) {
  var arg0 = _platform.api2wire_String(swapAddress);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_redeem_swap(port_, arg0),
    parseSuccessData: _wire2api_unit,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kRedeemSwapConstMeta,
    argValues: [swapAddress],
    hint: hint,
  ));
}