isKotlin property

bool get isKotlin

Checks if a file path or URL represents a Kotlin source file.

Implementation

bool get isKotlin {
  final mt = mimeType();
  return mt == 'text/x-kotlin';
}