$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'start':
return $int($value.start);
case 'end':
return $int($value.end);
case 'isValid':
return $bool($value.isValid);
case 'isCollapsed':
return $bool($value.isCollapsed);
case 'isNormalized':
return $bool($value.isNormalized);
case 'hashCode':
return $int($value.hashCode);
case 'textBefore':
return __textBefore;
case 'textAfter':
return __textAfter;
case 'textInside':
return __textInside;
case 'toString':
return __toString;
}
throw UnimplementedError(
'property $identifier not generated for TextRange');
}