pickMultipleVideos method
Implementation
@override
Future<List<String>> pickMultipleVideos({required int maxItems, int maxVideoSizeMB = 100,}) async {
try {
final List<dynamic> result = await _channel.invokeMethod(
'pickVideos',
{
'maxItems': maxItems,
'maxVideoSizeMB': maxVideoSizeMB,
},
);
return result.cast<String>();
} on PlatformException catch (e) {
throw Exception("Failed to pick videos: ${e.message}");
}
}