textDeleted property Null safety

String textDeleted

The text from oldText that is being deleted.

Implementation

String get textDeleted => oldText.substring(deletedRange.start, deletedRange.end);