hideSplash static method

void hideSplash()

Implementation

static void hideSplash() {
  _displayingSplash = false;
  Timer(Duration(milliseconds: 500), () {
    if (_displayingSplash) return;
    mpjs.JSObject self = mpjs.context["FlutterHostView"]["shared"]["self"];
    self.callMethod("setData", [
      {
        "readyToDisplay": true,
      }
    ]);
  });
}