unreadNotificationCount method

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

Unread notifications, for a badge on the tab.

Implementation

@override
Future<int> unreadNotificationCount() async {
  final count = await methodChannel.invokeMethod<int>(
    'unreadNotificationCount',
  );
  return count ?? 0;
}