extension property

String get extension

Implementation

String get extension => basename(path).split('.').last.toUpperCase();