getForAccess method
get for an explicit property read x.name: a static member is not
reachable through an instance in Dart (ghissues77; Slang's
static get currentLocale => instance.currentLocale, whose instance
currentLocale is inherited, read the static itself).
Implementation
Object? getForAccess(String name, {required InterpreterVisitor visitor}) =>
_get(
name,
visitor,
answerMissWithNoSuchMethod: true,
includeStatics: false,
);