getPhotoInfo static method
Implementation
static List<PhotoInfo> getPhotoInfo() {
List<PhotoInfo> items = [];
for (int i = 0; i < photo_info_name.length; i++) {
PhotoInfo obj = new PhotoInfo();
obj.title = photo_info_name[i];
obj.icon = photo_info_icon[i];
items.add(obj);
}
return items;
}