get method
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case 'loose':
return BoxConstraintsLoose();
case 'tight':
return BoxConstraintsTight();
case 'expanded':
return BoxConstraintsExpand();
}
throw "Unknown property: ${name.lexeme}";
}