EntertainmentSegmentCapabilities constructor

EntertainmentSegmentCapabilities({
  1. required bool isConfigurable,
  2. required int maxSegments,
  3. required List<EntertainmentSegment> segments,
})

Implementation

EntertainmentSegmentCapabilities({
  required this.isConfigurable,
  required this.maxSegments,
  required this.segments,
}) : assert(maxSegments >= 1, "`maxSegments` must be at least 1");