downloadFromYoutube static method

Future<Uint8List?> downloadFromYoutube(
  1. String url, [
  2. void onBytesReceived(
    1. int,
    2. int
    )?,
  3. bool? force
])

Implementation

static Future<Uint8List?> downloadFromYoutube(String url,
    [void Function(int, int)? onBytesReceived, bool? force]) async {
  return ModernFormVideoPlatformHelper.downloadFromYoutube(
      url, onBytesReceived, force);
}