load method

void load(
  1. String url,
  2. String duration
)

开始加载文件

Implementation

void load(String url, String duration) async {
  var map = {"url": url, "duration": duration};
  await methodChannel.invokeMethod("load", map);
}