claimReverseSwap method

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

See BreezServices::claim_reverse_swap

Implementation

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