addMediaSources method

void addMediaSources(
  1. FRPSource frpSource
)

Add the media sources to the player. This will enable previous and next features if you are using the list feature

Implementation

void addMediaSources(FRPSource frpSource) async {
  await _methodChannel.invokeMethod("set_sources", frpSource.toJson());
}