imagePath property

String get imagePath

Implementation

String get imagePath => isImage ? file.path : '';