addWatcher method
Future<String>
addWatcher({
- required Identifier identifier,
- required String watcherOobi,
- dynamic hint,
override
Implementation
Future<String> addWatcher(
{required Identifier identifier,
required String watcherOobi,
dynamic hint}) {
var arg0 = _platform.api2wire_box_autoadd_identifier(identifier);
var arg1 = _platform.api2wire_String(watcherOobi);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner.wire_add_watcher(port_, arg0, arg1),
parseSuccessData: _wire2api_String,
constMeta: kAddWatcherConstMeta,
argValues: [identifier, watcherOobi],
hint: hint,
));
}