extension property

String? extension

File extension for this file.

Implementation

String? get extension => name?.split('.').last;