getUnits method Null safety

List<T> getUnits()

Gets collection.