flushAttributes method
Force an immediate flush of buffered attribute mutations to the server, bypassing the background tick. Returns the number of mutations actually sent. Most apps never need this — the background dispatcher already flushes on its own tick and on foreground.
Implementation
Future<int> flushAttributes() => _platform.flushAttributes();