get method
Implementation
@override
Object? get(Token name) {
switch (name.lexeme) {
case 'size':
return SizeIns(data.size.width, data.size.height);
case 'devicePixelRatio':
return data.devicePixelRatio;
case 'textScaleFactor':
return data.textScaleFactor;
case 'padding':
return data.padding;
}
}