flush static method

Future<void> flush()

Immediately uploads queued data to the Appier server

Appier.flush()

By default, queued data is flushed to the Appier servers every 15 seconds (the default for flushInterval). You only need to call this method manually if you want to force a flush at a particular moment.

Implementation

static Future<void> flush() async {
  await AppierFlutterPlatform.instance.flush();
}