create static method
Address-based factory, not supported on web.
Web tensors are Dart-side buffers with no native address, so there is
nothing to construct from an address. Throws UnsupportedError; use
createFromInterpreter to wrap an existing Interpreter instead.
Implementation
static Future<IsolateInterpreter> create({
required int address,
String debugName = 'TfLiteInterpreterIsolate',
}) async {
// On web, address-based construction is not supported.
// Callers should use createFromInterpreter instead.
throw UnsupportedError(
'IsolateInterpreter.create with address is not supported on web. '
'Use the interpreter directly.',
);
}