I'm new in world of dart and I have problem with this:
import 'dart:io';
void main() {
print('Please your name:');
String name = stdin.readLineSync();
print('$name');
}
I/flutter ( 7962): Please your name:
I/flutter ( 7962): null
Every time the value is null.
import 'dart:io';
void main() {
print('Please your name:');
String? name = stdin.readLineSync();
print('$name');
}