RedditVideDownloader class
RedditVideDownloader
This class is used to download reddit videos
@param videoUrl - The url of the reddit video @param videoTitle - The title of the reddit video @param videoLocation - The location where the video will be saved
@return FFmpegSession - The FFmpeg session
@throws Exception - Throws an exception if the video url, title or location is empty @throws Exception - Throws an exception if the video url is invalid @throws Exception - Throws an exception if the video title is invalid @throws Exception - Throws an exception if the video location is invalid @throws Exception - Throws an exception if the permission is denied
@example
RedditVideDownloader().downloadRedditVideo( videoUrl: "https://www.reddit.com/r/aww/comments/psq7x7/this_is_what_happens_when_you_try_to_take_a_nap/", videoTitle: "This is what happens when you try to take a nap", videoLocation: "/storage/emulated/0/Download" );
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadRedditVideo(
{required String videoUrl, required String videoTitle, required String videoLocation}) → Future< FFmpegSession> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited