Line data Source code
1 : import 'package:mvvm_builder/mvvm_builder.dart'; 2 : import 'package:pal/src/database/entity/graphic_entity.dart'; 3 : 4 : class MediaGalleryModel extends MVVMModel { 5 : List<GraphicEntity> medias; 6 : bool isLoading; 7 : bool isLoadingMore; 8 : bool isNoMore; 9 : GraphicEntity selectedMedia; 10 : 11 1 : MediaGalleryModel({ 12 : this.medias, 13 : this.isLoading, 14 : this.isLoadingMore, 15 : this.isNoMore, 16 : this.selectedMedia, 17 : }); 18 : }