toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'customData': customData,
    'language': language?.toString(),
    'name': name,
    'subtype': subtype?.index,
    'trackContentId': trackContentId,
    'trackContentType': trackContentType,
    'trackId': trackId,
    'type': type.index,
  };
}