type property

  1. @override
TypeAnnotationImpl? type
override

Return the declared type of the parameter, or null if the parameter does not have a declared type.

Note that if this is a function-typed field formal parameter this is the return type of the function.

Implementation

@override
TypeAnnotationImpl? get type => _type;
void type=(TypeAnnotationImpl? type)

Implementation

set type(TypeAnnotationImpl? type) {
  _type = _becomeParentOf(type as TypeAnnotationImpl);
}