ThumbnailFormatExtensions extension

on

Methods

map<TResult extends Object?>({required TResult gif(ThumbnailFormatGif value), required TResult jpeg(ThumbnailFormatJpeg value), required TResult mpeg4(ThumbnailFormatMpeg4 value), required TResult png(ThumbnailFormatPng value), required TResult tgs(ThumbnailFormatTgs value), required TResult webm(ThumbnailFormatWebm value), required TResult webp(ThumbnailFormatWebp value)}) → TResult

Available on ThumbnailFormat, provided by the ThumbnailFormatExtensions extension

maybeMap<TResult extends Object?>({TResult gif(ThumbnailFormatGif value)?, TResult jpeg(ThumbnailFormatJpeg value)?, TResult mpeg4(ThumbnailFormatMpeg4 value)?, TResult png(ThumbnailFormatPng value)?, TResult tgs(ThumbnailFormatTgs value)?, TResult webm(ThumbnailFormatWebm value)?, TResult webp(ThumbnailFormatWebp value)?, required TResult orElse()}) → TResult

Available on ThumbnailFormat, provided by the ThumbnailFormatExtensions extension