droppedAppStartWrites method

  1. @override
Future<int> droppedAppStartWrites()
override

Cumulative native app-start events/attributes dropped because app.start had already closed. Android-only; other platforms return 0.

Implementation

@override
Future<int> droppedAppStartWrites() async {
  try {
    return await startupChannel.invokeMethod<int>('droppedAppStartWrites') ??
        0;
  } on MissingPluginException {
    return 0;
  }
}