imageTypeDescription function

String imageTypeDescription(
  1. ImageType imageType
)

Implementation

String imageTypeDescription(ImageType imageType) {
  switch (imageType) {
    case ImageType.network:
      return 'network';
    case ImageType.file:
      return 'file';
    case ImageType.asset:
      return 'asset';
  }
}