How can I get the type of an initial value expression of a field using Dart's analyzer API?
class MyClass {
var prop = <initial value expression>;
}
If initial value expression is for example 'text', I'd like to get String. If it is a function call, I'd like to get the return type of the function.