sendOobiToWatcher method

Future<bool> sendOobiToWatcher({
  1. required Identifier identifier,
  2. required String oobisJson,
  3. dynamic hint,
})
override

Implementation

Future<bool> sendOobiToWatcher(
    {required Identifier identifier,
    required String oobisJson,
    dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
  var arg1 = _platform.api2wire_String(oobisJson);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_send_oobi_to_watcher(port_, arg0, arg1),
    parseSuccessData: _wire2api_bool,
    constMeta: kSendOobiToWatcherConstMeta,
    argValues: [identifier, oobisJson],
    hint: hint,
  ));
}