getUnreadCount static method

Future<int> getUnreadCount()

Implementation

static Future<int> getUnreadCount() async {
  return _channel
      .invokeMethod<int>('getUnreadCount')
      .then<int>((int? value) => value ?? 0);
}