getProperty method
Implementation
Expression getProperty(
String name, {
bool cascade = false,
bool ifNullReturnNull = false,
}) =>
Expression([
this,
if (ifNullReturnNull) Code('?'),
Code('.'),
if (cascade) Code('.'),
IdentifierStartingWithLowerCase(name),
]);