platformMessagesFinished property

Future<void> get platformMessagesFinished

Returns a Future that completes after all the platform calls are finished.

If a new platform message is sent after this method is called, this new message is not tracked. Use with pendingMessageCount to guarantee no pending message calls.

Implementation

Future<void> get platformMessagesFinished {
  return Future.wait<void>(_pendingMessages);
}