In Dart, The var keyword is used to declare a variable . The Dart compiler automatically knows the type of data based on the assigned to the variable because Dart is an infer type language.
Read moreWhat are the data types supported in Dart?
Dart Programming – Data Types
Read more