getImagePath function

String getImagePath(
  1. ImageSize size
)

Implementation

String getImagePath(ImageSize size) {
  switch (size) {
    case ImageSize.small:
      return '256x256';
    case ImageSize.medium:
      return '512x512';
    case ImageSize.large:
      return '1024x1024';
    default:
      return '512x512';
  }
}