Dart is a strongly typed language, so every value has a type. Understanding types helps you cut down on errors and makes your code's intent clearer.
dart
void main() {
int students = 35;
double rating = 4.8;
String course = 'Dart Basic';
bool isPublished = true;
print(course.runtimeType);
print('Students: $students');
print('Rating: $rating');
print('Published: $isPublished');
}runtimeType is handy when you want to check a value's actual type. When you're debugging and want to know "what type is this value, exactly?", give it a try.
You should see
String Students: 35 Rating: 4.8 Published: true