extension property

String? get extension

Returns the file extension of the image, or null if none.

Implementation

String? get extension => _imageData?.extension;