main function

void main(
  1. List<String> args
)

Implementation

void main(List<String> args) async {
  // Create an object of the ListAllVideos class
  ListAllVideos object = ListAllVideos();

  // Get a list of video file paths and store it in the 'videos' variable
  List<VideoDetails> videos = await object.getAllVideosPath();

  // Iterate through the video paths and print them
  videos.map((currentPath) {
    print(currentPath);
  });
}