latestImages method
Fetches the local images from start
index to end
index, order by date desc.
Implementation
Future<List<String>?> latestImages(int start, int end) =>
_lock.synchronized(() async {
final photos = await _channel
.invokeMethod('getLatestImages', {'start': start, 'end': end});
return photos.cast<String>();
});