CarouselMedia constructor

CarouselMedia({
  1. required String mediaUrl,
  2. required String mediaName,
  3. required CarouselMediaType mediaType,
  4. required CarouselImageSource carouselImageSource,
})

Implementation

CarouselMedia({
  required String mediaUrl,
  required String mediaName,
  required CarouselMediaType mediaType,
  required CarouselImageSource carouselImageSource,
}) {
  _mediaUrl = mediaUrl;
  _mediaName = mediaName;
  _carouselImageSource = carouselImageSource;
  _mediaType = mediaType;
}