queryMailbox method

Future<List<String>> queryMailbox({
  1. required Identifier whoAsk,
  2. required Identifier aboutWho,
  3. required List<String> witness,
  4. dynamic hint,
})
override

Implementation

Future<List<String>> queryMailbox(
    {required Identifier whoAsk,
    required Identifier aboutWho,
    required List<String> witness,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(whoAsk);
  var arg1 = _platform.api2wire_box_autoadd_identifier(aboutWho);
  var arg2 = _platform.api2wire_StringList(witness);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_query_mailbox(port_, arg0, arg1, arg2),
    parseSuccessData: _wire2api_StringList,
    constMeta: kQueryMailboxConstMeta,
    argValues: [whoAsk, aboutWho, witness],
    hint: hint,
  ));
}