readMessageCount method Null safety

Future<int> readMessageCount()

Reads the current number of messages in the queue to be delivered.

Return Future that receives number of messages Throws error.