$getProperty method

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

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'subtreeDepth':
      final _subtreeDepth = $value.subtreeDepth;
      return $int(_subtreeDepth);

    case 'includeProperties':
      final _includeProperties = $value.includeProperties;
      return $bool(_includeProperties);

    case 'expandPropertyValues':
      final _expandPropertyValues = $value.expandPropertyValues;
      return $bool(_expandPropertyValues);
    case 'additionalNodeProperties':
      return __additionalNodeProperties;

    case 'filterChildren':
      return __filterChildren;

    case 'filterProperties':
      return __filterProperties;

    case 'truncateNodesList':
      return __truncateNodesList;

    case 'delegateForNode':
      return __delegateForNode;

    case 'copyWith':
      return __copyWith;
  }
  return _superclass.$getProperty(runtime, identifier);
}