isImage property

bool get isImage

是否图片

Implementation

bool get isImage {
  return RegExp(r'^image').hasMatch(mime ?? '');
}