videosLoaders property

Future<List<VideoItem>> videosLoaders

Implementation

static Future<List<VideoItem>> get videosLoaders async {
  List<VideoItem> list = [];
  final maps = await _channel.invokeMethod("videoLoaders");
  if (maps != null) {
    maps.forEach((element) {
      String path = element["path"];
      int duration = element["duration"];
      int height = element["height"];
      int width = element["width"];
      list.add(VideoItem(
          path: path, duration: duration, width: width, height: height));
    });
  }
  return list;
}