flush method

void flush()

Uploads the cached data immediately.

All data will be cached in local device and be posted to TA server according given strategies. You can post the data to TA server immediately by calling flush.

Implementation

void flush() {
  _channel.invokeMethod('flush', <String, dynamic>{'appId': this._appId});
}