get method
Object?
get(
- Token name
)
override
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case 'topStart':
return AlignmentDirectional.topStart;
case 'topCenter':
return AlignmentDirectional.topCenter;
case 'topEnd':
return AlignmentDirectional.topEnd;
case 'centerStart':
return AlignmentDirectional.centerStart;
case 'center':
return AlignmentDirectional.center;
case 'centerEnd':
return AlignmentDirectional.centerEnd;
case 'bottomStart':
return AlignmentDirectional.bottomStart;
case 'bottomCenter':
return AlignmentDirectional.bottomCenter;
case 'bottomEnd':
return AlignmentDirectional.bottomEnd;
}
}