load method

  1. @override
Future<void> load(
  1. int id,
  2. String? title,
  3. String? subtitle,
  4. String url,
)
override

Implementation

@override
Future<void> load(int id, String? title, String? subtitle, String url) async {
   await methodChannel.invokeMethod<void>(ImpulsePlayerPluginConstants.MethodLoad, {
    ImpulsePlayerPluginConstants.ParameterId: id,
    ImpulsePlayerPluginConstants.ParameterTitle: title,
    ImpulsePlayerPluginConstants.ParameterSubtitle: subtitle,
    ImpulsePlayerPluginConstants.ParameterUrl: url,
  });
}