extension property
String
get
extension
Extension without the dot, lower-cased.
Implementation
String get extension {
final dot = name.lastIndexOf('.');
return dot == -1 ? '' : name.substring(dot + 1).toLowerCase();
}