ImageUploadModel constructor

ImageUploadModel({
  1. required String id,
  2. required String title,
  3. String? text,
  4. XFile? file,
  5. String? imageUrl,
  6. ImageSourceType sourceType = ImageSourceType.xfile,
})

Implementation

ImageUploadModel({
  required this.id,
  required this.title,
  this.text,
  this.file,
  this.imageUrl,
  this.sourceType = ImageSourceType.xfile,
});