Watch
1
0
Fork
You've already forked arc
0
forked from hesabix/arc
arc/hesabixUI/hesabix_ui/lib/services/ai_sse_client_stub.dart

13 lines
332 B
Dart

import 'package:dio/dio.dart';
Stream<String> postSsePayloads({
required Uri uri,
required Map<String, String> headers,
required String body,
CancelToken? cancelToken,
void Function(int id)? onEventId,
}) {
return Stream<String>.error(
UnsupportedError('Native SSE fetch is only available on Flutter Web.'),
);
}