MediaSources constructor

MediaSources({
  1. String? url,
  2. String? title,
  3. required bool isPrimary,
  4. String? description,
  5. bool? isAac,
})

Implementation

MediaSources({
  String? url,
  String? title,
  required this.isPrimary,
  String? description,
  bool? isAac,
}) {
  if (url != null) {
    this.url = url;
  }
  if (title != null) {
    this.title = title;
  }

  if (description != null) {
    this.description = description;
  }
  if (isAac != null) {
    this.isAac = isAac;
  }
}