$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'text':
return $String($value.text);
case 'composing':
return $TextRange.wrap($value.composing);
case 'isComposingRangeValid':
return $bool($value.isComposingRangeValid);
case 'hashCode':
return $int($value.hashCode);
case 'copyWith':
return __copyWith;
case 'replaced':
return __replaced;
case 'toJSON':
return __toJSON;
case 'toString':
return __toString;
}
throw UnimplementedError(
'property $identifier not generated for TextEditingValue');
}