Type 'JsonTypeConverter' not found #1907
-
I have implemented a : Error: Type 'JsonTypeConverter' not found.
packages/…/src/sqlite_database.g.dart:388
static JsonTypeConverter<List<RecipeStepEntity>, String> $converter2 =
^^^^^^^^^^^^^^^^^
: Error: Type 'JsonTypeConverter' not found.
packages/…/types/recipe_step.dart:65
with JsonTypeConverter<List<RecipeStepEntity>, String> {
^^^^^^^^^^^^^^^^^
: Error: The type 'JsonTypeConverter<List<RecipeStepEntity>, String>' can't be mixed in.
packages/…/types/recipe_step.dart:64
class RecipeStepsConverter extends TypeConverter<List<RecipeStepEntity>, String>
^
: Error: 'JsonTypeConverter' isn't a type.
packages/…/src/sqlite_database.g.dart:388
static JsonTypeConverter<List<RecipeStepEntity>, String> $converter2 =
^^^^^^^^^^^^^^^^^ The file that declares the database and uses Is there something I am potentially missing here? Appreciate any insight!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I realized I was also using the db_viewer package and tried removing that dependency and it built fine so the issue seems to be with that package. |
Beta Was this translation helpful? Give feedback.
I realized I was also using the db_viewer package and tried removing that dependency and it built fine so the issue seems to be with that package.