Browse Source

dynamite: Use universal_io to make it work on web

pull/190/head
jld3103 2 years ago
parent
commit
518e7f4632
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 2
      packages/dynamite/lib/src/openapi_builder.dart

2
packages/dynamite/lib/src/openapi_builder.dart

@ -61,11 +61,11 @@ class OpenAPIBuilder implements Builder {
'// ignore_for_file: camel_case_types', '// ignore_for_file: camel_case_types',
'// ignore_for_file: public_member_api_docs', '// ignore_for_file: public_member_api_docs',
"import 'dart:convert';", "import 'dart:convert';",
"import 'dart:io';",
"import 'dart:typed_data';", "import 'dart:typed_data';",
'', '',
"import 'package:cookie_jar/cookie_jar.dart';", "import 'package:cookie_jar/cookie_jar.dart';",
"import 'package:json_annotation/json_annotation.dart';", "import 'package:json_annotation/json_annotation.dart';",
"import 'package:universal_io/io.dart';",
'', '',
"export 'package:cookie_jar/cookie_jar.dart';", "export 'package:cookie_jar/cookie_jar.dart';",
'', '',

Loading…
Cancel
Save