$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case '+':
return __plus;
case '-':
return __minus;
case '*':
return __mul;
case '/':
return __div;
case '%':
return __mod;
case '<':
return __lt;
case '>':
return __gt;
case '<=':
return __lteq;
case '>=':
return __gteq;
case 'compareTo':
return __compareTo;
case 'toInt':
return __toInt;
case 'toDouble':
return __toDouble;
case 'ceil':
return __ceil;
case 'abs':
return __abs;
case 'floor':
return __floor;
case 'round':
return __round;
case 'truncate':
return __truncate;
case 'clamp':
return __clamp;
case 'remainder':
return __remainder;
case 'toStringAsFixed':
return __toStringAsFixed;
case 'toStringAsExponential':
return __toStringAsExponential;
case 'toStringAsPrecision':
return __toStringAsPrecision;
case 'ceilToDouble':
return __ceilToDouble;
case 'floorToDouble':
return __floorToDouble;
case 'roundToDouble':
return __roundToDouble;
case 'truncateToDouble':
return __truncateToDouble;
case 'isNaN':
return $bool($value.isNaN);
case 'isInfinite':
return $bool($value.isInfinite);
case 'isNegative':
return $bool($value.isNegative);
case 'isFinite':
return $bool($value.isFinite);
case 'sign':
return $num($value.sign);
}
return _superclass.$getProperty(runtime, identifier);
}