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