exactMatchComplete function
Whether an exact-match triple is complete: all three present, oldText non-empty (newText may be empty — that deletes oldText).
Implementation
bool exactMatchComplete({
required String? path,
required String? oldText,
required String? newText,
}) =>
path != null &&
path.isNotEmpty &&
oldText != null &&
oldText.isNotEmpty &&
newText != null;