load method

Future<void> load(
  1. String url, {
  2. String? title,
  3. String? subtitle,
  4. Map<String, String> headers = const {},
})

Implementation

Future<void> load(
  String url,
  {
    String? title,
    String? subtitle,
    Map<String, String> headers = const {},
  }) async {
  final id = await ImpulsePlayerFactory.getViewId(this);
  return ImpulsePlayerPluginPlatform.instance.load(id, url, title, subtitle, headers);
}