DurationConverter constructor Null safety

DurationConverter()