changeController method
Helper function for tests. Enable to switch to use other database. Used to simulate using multiple devices.
Implementation
Future<bool> changeController({required String dbPath, dynamic hint}) {
var arg0 = _platform.api2wire_String(dbPath);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner.wire_change_controller(port_, arg0),
parseSuccessData: _wire2api_bool,
constMeta: kChangeControllerConstMeta,
argValues: [dbPath],
hint: hint,
));
}