getVideos method
Get a list of videos from the device
Implementation
@override
Future<List<VideoFile>> getVideos() async {
final List<dynamic> result = await methodChannel.invokeMethod('getVideos');
return result
.cast<Map<dynamic, dynamic>>()
.map((map) => VideoFile.fromMap(Map<String, dynamic>.from(map)))
.toList();
}