show method Null safety
- LcdContents newContents
Implementation
void show(LcdContents newContents) {
if (_lastShown.value._myTimer != newContents._myTimer) {
if (ignoreUpdates) {
return;
}
_lastShown.value._myTimer?.cancel();
}
_lastShown.value = newContents;
}