extension property

String? extension

Implementation

String? get extension {
  var np = this.name ?? path;
  return np?.extension;
}