* Create a track with the given type * @param type the desired type of the track * @returns A new track
(type: T)
| 232 | * @returns A new track |
| 233 | */ |
| 234 | public createTrack<T extends TrackType>(type: T) { |
| 235 | const track = TrackDeserializer.fromType({ type }); |
| 236 | this.shiftTrack(track); |
| 237 | |
| 238 | return track; |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Convenience function for appending a track |
no test coverage detected