getModelImage static method

List<ModelImage> getModelImage()

Implementation

static List<ModelImage> getModelImage() {
  final List<ModelImage> items = [];
  for (int i = 0; i < images_header_auto.length; i++) {
    ModelImage obj = new ModelImage();
    obj.image = images_header_auto[i];
    obj.name = title_header_auto[i];
    obj.brief = subtitle_header_auto[i];
    items.add(obj);
  }
  return items;
}