single static method
Creates list with only one subtitles
Implementation
static List<PipFlutterPlayerSubtitlesSource> single({
PipFlutterPlayerSubtitlesSourceType? type,
String name = "Default subtitles",
String? url,
String? content,
bool? selectedByDefault,
Map<String, String>? headers,
}) =>
[
PipFlutterPlayerSubtitlesSource(
type: type,
name: name,
urls: [url],
content: content,
selectedByDefault: selectedByDefault,
headers: headers,
)
];