Maksimka101 / isolate-bloc

A Flutter package that helps implement the BLoC pattern when blocs run in their own Isolate.
MIT License
21 stars 9 forks source link

Fix web support #5

Closed Maksimka101 closed 3 years ago

Maksimka101 commented 3 years ago

Everything works fine on native but on web I get this error: Error: Assertion failed: file:/.../isolate_bloc-1.0.2/lib/src/common/isolate/isolated_bloc_manager.dart:94:7 _blocCreators.containsKey(blocType) || _registeredWrappers.containsKey(blocType)

Maksimka101 commented 3 years ago

That was a mistake due to I import dart:io in my isolateBlocInitialization function.