getVideo static method

Future<Uint8List?> getVideo(
  1. String path, {
  2. bool isLocal = false,
})

Get video from storage or local

Implementation

static Future<Uint8List?> getVideo(String path,
    {bool isLocal = false}) async {
  if (isLocal) {
    return getLocalVideo(path);
  } else {
    return await FireUploader().getObject(path);
  }
}