isImage property

bool isImage

Checks if this is an image

Implementation

bool get isImage => mediaType.startsWith('image/');