list method

Future<List<MessageListing>> list([
  1. int? messageId
])

Checks the ID and size of all messages or of the message with the specified messageId

Implementation

Future<List<MessageListing>> list([int? messageId]) =>
    sendCommand(PopListCommand(messageId));