$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'toRadixString':
return __toRadixString;
case '|':
return __bitwiseOr;
case '&':
return __bitwiseAnd;
case '<<':
return __shiftLeft;
case '>>':
return __shiftRight;
case '^':
return __bitwiseXor;
case '~/':
return __truncatediv;
case 'abs':
return __absInt;
case 'gcd':
return __gcd;
case 'modPow':
return __modPow;
case 'modInverse':
return __modInverse;
case 'toSigned':
return __toSigned;
case 'toUnsigned':
return __toUnsigned;
case 'isEven':
return $bool($value.isEven);
case 'isOdd':
return $bool($value.isOdd);
case 'bitLength':
return $int($value.bitLength);
case 'sign':
return $int($value.sign);
}
return super.$getProperty(runtime, identifier);
}