inceptGroup method
Future<GroupInception>
inceptGroup({
- required Identifier identifier,
- required List<
Identifier> participants, - required int signatureThreshold,
- required List<
String> initialWitnesses, - required int witnessThreshold,
- dynamic hint,
override
Implementation
Future<GroupInception> inceptGroup(
{required Identifier identifier,
required List<Identifier> participants,
required int signatureThreshold,
required List<String> initialWitnesses,
required int witnessThreshold,
dynamic hint}) {
var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
var arg1 = _platform.api2wire_list_identifier(participants);
var arg2 = _platform.api2wire_u64(signatureThreshold);
var arg3 = _platform.api2wire_StringList(initialWitnesses);
var arg4 = _platform.api2wire_u64(witnessThreshold);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner
.wire_incept_group(port_, arg0, arg1, arg2, arg3, arg4),
parseSuccessData: _wire2api_group_inception,
constMeta: kInceptGroupConstMeta,
argValues: [
identifier,
participants,
signatureThreshold,
initialWitnesses,
witnessThreshold
],
hint: hint,
));
}