PlayerMedia<T> constructor

PlayerMedia<T>({
  1. required PlayerMediaType type,
  2. required T resource,
  3. Map<String, String>? headers,
  4. Duration? initial,
  5. bool preload = false,
})

Implementation

PlayerMedia(
    {required this.type,
    required this.resource,
    this.headers,
    this.initial,
    this.preload = false});