ext property

String get ext

扩展名

Implementation

String get ext {
  return path.substring(path.lastIndexOf('.') + 1);
}