$getProperty method

  1. @override
$Value? $getProperty(
  1. Runtime runtime,
  2. String identifier
)
override

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'add':
      return __add;
    case 'addAll':
      return __addAll;
    case 'addFirst':
      return __addFirst;
    case 'addLast':
      return __addLast;
    case 'where':
      return __where;
    case 'first':
      return $map($value.first);
    case 'last':
      return $map($value.last);
    case 'single':
      return $map($value.single);
    case 'remove':
      return __remove;
    case 'retainWhere':
      return __retainWhere;
    case 'removeWhere':
      return __removeWhere;
    case 'takeWhile':
      return __takeWhile;
  }
  return _superclass.$getProperty(runtime, identifier);
}