ImageModel.video constructor

const ImageModel.video({
  1. required String videoUrl,
  2. String? caption,
})

Implementation

const ImageModel.video({
  required String this.videoUrl,
  this.caption,
}) : imageUrl = videoUrl;