Segment constructor

Segment({
  1. required int segmentId,
  2. int? endTimeMs,
  3. required int startTimeMs,
  4. SegmentCategory? category,
  5. SegmentSubcategory? subcategory,
  6. required List<Attribute?> attributes,
  7. SegmentType? type,
})

Implementation

Segment({
  required this.segmentId,
  this.endTimeMs,
  required this.startTimeMs,
  this.category,
  this.subcategory,
  required this.attributes,
  this.type,
});