Consider the below code.
void main() {
int num = 5;
print('The number is ' + num);
}
When I try to print the value for the variable num, I get the exception : The argument type 'int' can't be assigned to the parameter type 'String'
.
How do I go about in printing num?