isJSON property
bool
get
isJSON
Checks if a file path or URL represents a JSON file.
Implementation
bool get isJSON {
final mt = mimeType();
return mt == 'application/json';
}
Checks if a file path or URL represents a JSON file.
bool get isJSON {
final mt = mimeType();
return mt == 'application/json';
}