isEmpty property

bool get isEmpty

Whether the edit carries no text edits at all.

Implementation

bool get isEmpty => textEdits.values.every((edits) => edits.isEmpty);