getMediaList method Null safety
Get the media files list from the Drone (SD card).
Returns a list of Media files. The index of each file is used to download or delete the file.
Implementation
static Future<List<Media?>?> getMediaList() async {
final mediaList = await _api?.getMediaList();
return mediaList;
}