get method

  1. @override
Object? get(
  1. Token name
)
override

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case 'fromHeight':
      return SizefromHeight();
    case 'fromWidth':
      return SizefromWidth();
    case 'fromRadius':
      return SizefromRadius();
    case 'square':
      return Sizesquare();
  }
}