isCpp property

bool isCpp

Checks if a file path or URL represents a C++ source file.

Implementation

bool get isCpp {
  final mt = mimeType();
  return mt == 'text/x-c++src';
}