Never _unsupported() => throw UnsupportedError('ONNX Runtime is not built in.'); class OnnxRuntime { Future createSession(String path, {Object? options}) async => _unsupported(); } class OrtSession { OrtSession._(); List get inputNames => const []; List get outputNames => const []; Future> run( Map inputs, { Object? options, }) async => _unsupported(); Future close() async {} } class OrtValue { OrtValue._(); static Future fromList(Object data, List shape) async => _unsupported(); List get shape => const []; Future> asFlattenedList() async => _unsupported(); Future dispose() async {} }