clearAllTestValues method Null safety

void clearAllTestValues()

Delete any test value properties that have been set on this TestPlatformDispatcher and return to reporting the real ui.PlatformDispatcher values for all PlatformDispatcher properties.

If desired, clearing of properties can be done on an individual basis, e.g., clearLocaleTestValue().

Implementation

void clearAllTestValues() {
  clearAccessibilityFeaturesTestValue();
  clearAlwaysUse24HourTestValue();
  clearDefaultRouteNameTestValue();
  clearPlatformBrightnessTestValue();
  clearLocaleTestValue();
  clearLocalesTestValue();
  clearSemanticsEnabledTestValue();
  clearTextScaleFactorTestValue();
}