clearPlatformBrightnessTestValue method Null safety

void clearPlatformBrightnessTestValue()

Deletes any existing test platform brightness and returns to using the real platform brightness.

Implementation

void clearPlatformBrightnessTestValue() {
  _platformBrightnessTestValue = null;
  onPlatformBrightnessChanged?.call();
}