getCoreObjectProperty method

$Value? getCoreObjectProperty(
  1. String identifier
)
inherited

Implementation

$Value? getCoreObjectProperty(String identifier) {
  switch (identifier) {
    case 'hashCode':
      return $int(hashCode);
    case 'toString':
      return __toString;
    case '==':
      return __equals;
    case '!=':
      return __notEquals;
    case 'runtimeType':
      return $TypeImpl(evalClass.delegatedType);
    default:
      throw EvalUnknownPropertyException(identifier);
  }
}