DistinctDistance constructor Null safety

DistinctDistance()