resolve method
Dispatch this function body to the resolver, imposing imposedType
as the
return type context for return
statements.
Return value is the actual return type of the method.
Implementation
@override
DartType resolve(ResolverVisitor resolver, DartType? imposedType) =>
resolver.visitBlockFunctionBody(this, imposedType: imposedType);