getAllVideos method
Retrieves paths of all video files on device. Returns List< String> of absolute file paths. Example:
List<String> videos = await MethodChannelMediaManager().getAllVideos();
Implementation
@override
Future<List<String>> getAllVideos() async {
final List<dynamic> result = await methodChannel.invokeMethod(
'getAllVideos',
);
return result.cast<String>();
}