resetColor method
void
resetColor()
Reset bulb color to default (or custom reset color) and trigger callback
Implementation
void resetColor() {
_colorIndex = -1;
notifyListeners();
_onResetBulb?.call();
}
Reset bulb color to default (or custom reset color) and trigger callback
void resetColor() {
_colorIndex = -1;
notifyListeners();
_onResetBulb?.call();
}