Entertainment constructor
Entertainment({
- required ResourceType type,
- required String id,
- String idV1 = "",
- required Relative owner,
- required bool isRenderer,
- required bool isProxy,
- required bool isEqualizer,
- required int maxStreams,
- required EntertainmentSegmentCapabilities segmentCapabilities,
Creates a Entertainment object.
Implementation
Entertainment({
required super.type,
required super.id,
this.idV1 = "",
required this.owner,
required this.isRenderer,
required this.isProxy,
required this.isEqualizer,
required this.maxStreams,
required this.segmentCapabilities,
}) : assert(idV1.isEmpty || Validators.isValidIdV1(idV1),
'"$idV1" is not a valid `idV1`'),
assert(maxStreams >= 1, "`maxStreams` must be at least 1");