pickVideo static method

Future<PickedFile?> pickVideo()

Implementation

static Future<PickedFile?> pickVideo() async {
  if (Platform.isAndroid) {
    return _getFilesFromMethodChannel(type: "video");
  }
  return await _getFilesFromMethodChannel(
      type: Platform.isIOS ? "video" : "custom",
      allowedExtensions: imageExtensions + videoExtensions);
}