Closed Kiruel closed 4 years ago
Not trying to be rude, but nothing in the stack trace hints at this being related to dartz -- how did you come to that conclusion? It clearly states that Token
and Failure
have conflicting definitions, probably because you are mixing package relative and file relative imports.
Ok you are right nothing from dartz its from dart2js, when I use package:app/features/auth/domain/entities/token.dart
it make this error so I change for local path like this for example ../entities/token.dart
.
Great -- glad that it worked out!
Hi, I try to use dartz for flutter web with this command:
flutter run -d chrome --release -t lib/main_dev.dart -v
But I get this error:
When I compile for Android or iOS there are no error only for web, can you help me on that ?
Flutter doctor
Dartz version
dartz: ^0.8.9