import 'dart:math';
import "dart:io";
void main() {
print('enter first number:');
var num1 = stdin.readLineSync();
print('enter second number:');
var num2 = stdin.readLineSync();
print(num1 + num2);
}
This is what I keep getting--
Error: A value of type 'String?' can't be assigned to a variable of type 'String' because 'String?' is nullable and 'String' isn't, and 'Error: Operator '+' cannot be called on 'String?' because it is potentially null'
I have tried using string instead of var and also string?