Unhandled Exception: type 'int' is not a subtype of type 'String' in type cast http flutter code example
Example: 'int' is not a subtype of type 'double' dart
double myDouble = myInt.toDouble();
double myDouble = myInt.toDouble();