Timeline constructor Null safety

Timeline()