pickVideoSources method
Multi-select variant of pickVideoSource; every picked video is resolved with the same direct-access policy. Unimplemented platforms make callers fall back to the general file picker.
Implementation
@override
Future<List<VideoSourceSelection>> pickVideoSources() async {
final value = await methodChannel.invokeMapMethod<Object?, Object?>(
'pickVideoSources',
);
if (value == null) return const [];
final sources = value['sources'] as List<Object?>? ?? const [];
return [
for (final source in sources)
VideoSourceSelection.fromMap(source! as Map<Object?, Object?>),
];
}