public List<PoiType> loadPoiTypesFromH2GeoDto(@NonNull H2GeoDto h2GeoDto){
  List<PoiType> types=new ArrayList<>();
  for (  Group<PoiTypeDto> group : h2GeoDto.getGroups()) {
    types.addAll(poiTypeMapper.convert(group.getItems()));
  }
  return types;
}

public List < PoiType > loadPoiTypesFromH2GeoDto ( @ NonNull H2GeoDto h2GeoDto ) { List < PoiType > types = new ArrayList < > ( ) ; for ( Group < PoiTypeDto > group : h2GeoDto . getGroups ( ) ) { types . addAll ( poiTypeMapper . convert ( group . getItems ( ) ) ) ; } return types ; }
load the poitypes from the h2geodtoobject .
