type property

DartType type

Return the declared type of this variable, or null if the variable did not have a declared type (such as if it was declared using the keyword 'var').

Implementation

DartType get type;