start static method

void start()

Request a frame loop. Plugins call this when they add a task. No-op if the loop is already running.

Implementation

static void start() {
  if (_running) return;
  _running = true;
  _hasLast = false;
  _frameId = SchedulerBinding.instance.scheduleFrameCallback(_loop);
}