From 518e7f46324706f8c1d8363d7e9696daaa2f63dc Mon Sep 17 00:00:00 2001 From: jld3103 Date: Mon, 27 Mar 2023 18:41:27 +0200 Subject: [PATCH] dynamite: Use universal_io to make it work on web --- packages/dynamite/lib/src/openapi_builder.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/lib/src/openapi_builder.dart index 64fbc7a7..156e3582 100644 --- a/packages/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/lib/src/openapi_builder.dart @@ -61,11 +61,11 @@ class OpenAPIBuilder implements Builder { '// ignore_for_file: camel_case_types', '// ignore_for_file: public_member_api_docs', "import 'dart:convert';", - "import 'dart:io';", "import 'dart:typed_data';", '', "import 'package:cookie_jar/cookie_jar.dart';", "import 'package:json_annotation/json_annotation.dart';", + "import 'package:universal_io/io.dart';", '', "export 'package:cookie_jar/cookie_jar.dart';", '',