toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'name': name,
'url': url,
'segmentId': segmentId,
'startTime': startTime,
'stopTime': stopTime,
'durationTime': durationTime,
'startOffset': startOffset,
};
}