@override Object? get(Token name) { switch (name.lexeme) { case 'withChartData': return ChartPieWithDataBuilder(); } throw "Unknown property: ${name.lexeme}"; }