clearTextMarkers method
Clears the spelling and grammar error text markers overlapping the ranges set by setTextMarker in this session. These markers are also removed when the DOM domain is disabled or the session ends.
Implementation
Future<void> clearTextMarkers() async {
await _client.send('DOM.clearTextMarkers');
}