getAllSortedById method
Implementation
Future<List<Resource>> getAllSortedById(String password,
{String resourceType, Resource resource}) async {
final type = resourceType ?? resource?.resourceType ?? '';
if (type.isNotEmpty) {
_setStoreType(type);
final finder = Finder(sortOrders: [SortOrder('id')]);
return _search(password, finder);
}
return [];
}