withInstanceMethods method
Lets expressions call instance methods: those of @Introspected
classes in BeanIntrospector.shared (Spring's
DataBindingMethodResolver) and the built-in ones of core Dart
types, such as name.toUpperCase(). Off by default.
extra resolvers, like those of withMethodResolvers, are asked
first.
Implementation
SimpleEvaluationContextBuilder withInstanceMethods([
List<MethodResolver> extra = const [],
]) {
_resolvers.addAll(extra);
_instanceMethods = true;
return this;
}