isImage property
bool
isImage
Checks whether the given media type is a type of image. True iff the media type is a type of image.
Implementation
bool get isImage => primaryType == 'image';
Checks whether the given media type is a type of image. True iff the media type is a type of image.
bool get isImage => primaryType == 'image';