dart when to use var code example Example: variables in dart var nameOfVariable, //this can be an int, string, or dynamic as well //example