extension property

String get extension

Implementation

String get extension {
  switch (format) {
    case UPhotoFormat.jpeg:
      return "jpg";
    case UPhotoFormat.png:
      return "png";
    case UPhotoFormat.heic:
      return "heic";
    case UPhotoFormat.webp:
      return "webp";
    case UPhotoFormat.raw:
      return "dng";
  }
}