pickVideoSource method

  1. @override
Future<VideoSourceSelection?> pickVideoSource()
override

Implementation

@override
Future<VideoSourceSelection?> pickVideoSource() async {
  final value = await methodChannel.invokeMapMethod<Object?, Object?>(
    'pickVideoSource',
  );
  if (value == null) return null;
  return VideoSourceSelection.fromMap(value);
}