clear method
Implementation
void clear(String id) {
if (_entries.remove(id) == null) {
return;
}
if (_lastSentEntry?.messageId == id) {
_lastSentEntry = null;
}
if (!_disposed) {
notifyListeners();
}
}
void clear(String id) {
if (_entries.remove(id) == null) {
return;
}
if (_lastSentEntry?.messageId == id) {
_lastSentEntry = null;
}
if (!_disposed) {
notifyListeners();
}
}