getValues method

  1. @Deprecated('highly inefficient')
Future<List> getValues()

Returns a list of atNotification sorted on notification date time.

Implementation

@Deprecated('highly inefficient')
Future<List> getValues() async {
  var returnList = [];
  var notificationLogMap = await _toMap();
  returnList = notificationLogMap!.values.toList();
  returnList.sort(
      (k1, k2) => k1.notificationDateTime.compareTo(k2.notificationDateTime));
  return returnList;
}