isContact property

bool get isContact

Checks if a file path or URL represents a contact file.

Implementation

bool get isContact {
  final mt = mimeType();
  return mt == 'text/vcard' || mt == 'text/x-vcard';
}