handleError method Null safety

void handleError()

Implementation

void handleError() async {
  LogManager().addLog("SplashScreen: handleError()", screen: runtimeType.toString());
  setState(() {
    hasError = true;
  });
}