Metrics constructor Null safety

Metrics()