network static method
Implementation
static PlayerMedia<String> network(String resource,
{Map<String, String>? headers, Duration? initial, bool? preload}) {
return PlayerMedia(
type: PlayerMediaType.network,
resource: resource,
headers: headers,
preload: preload ?? false,
initial: initial,
);
}