You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: type 'int' is not a subtype of type 'double' in type cast
I'm guessing sometimes in mappper recognizes it as int sometimes as double.
Is it possible to map it as I need?
Maybe converter where I can get Object? as input and map by myself?
I've tried to use String converter, but it's using as String instead of toString() which works fine.
Any solution?
The text was updated successfully, but these errors were encountered:
I have model with these fields:
And these columns in database:
generated code:
price: row['price'] as double
Issue:
type 'int' is not a subtype of type 'double' in type cast
I'm guessing sometimes in mappper recognizes it as int sometimes as double.
Is it possible to map it as I need?
Maybe converter where I can get Object? as input and map by myself?
I've tried to use String converter, but it's using
as String
instead oftoString()
which works fine.Any solution?
The text was updated successfully, but these errors were encountered: