static Future<String> readLine(String type) async { stdout.write("Enter $type name: "); return stdin.readLineSync() ?? ""; }