incept method

Future<String> incept({
  1. required List<PublicKey> publicKeys,
  2. required List<PublicKey> nextPubKeys,
  3. required List<String> witnesses,
  4. required int witnessThreshold,
  5. dynamic hint,
})
override

Implementation

Future<String> incept(
    {required List<PublicKey> publicKeys,
    required List<PublicKey> nextPubKeys,
    required List<String> witnesses,
    required int witnessThreshold,
    dynamic hint}) {
  var arg0 = _platform.api2wire_list_public_key(publicKeys);
  var arg1 = _platform.api2wire_list_public_key(nextPubKeys);
  var arg2 = _platform.api2wire_StringList(witnesses);
  var arg3 = _platform.api2wire_u64(witnessThreshold);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_incept(port_, arg0, arg1, arg2, arg3),
    parseSuccessData: _wire2api_String,
    constMeta: kInceptConstMeta,
    argValues: [publicKeys, nextPubKeys, witnesses, witnessThreshold],
    hint: hint,
  ));
}