getAllMessages method

Future<List<LocalityEvent>> getAllMessages({
  1. String? password,
})

Get all messages from database and decrypts with the given password.

Implementation

Future<List<LocalityEvent>> getAllMessages({String? password}) async {
  return _getMessages(null, null, password: password);
}