get method

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

Implementation

@override
Object? get(Token name) {
  switch (name.lexeme) {
    case 'pickImage':
      return PickImage(this);
    case 'pickVideo':
      return ImagePicker();
    case 'pickMultiImage':
      return ImagePicker();
    case 'pickMultiVideo':
      return ImagePicker();
  }
}