Casting an object to a string use 'as String' at the end of the expression
void main() { var a = 10; // An integer. var b = "20"; // A string. var c = int.parse(b); print(a + c); }