getThumbnailUrl method
Gets the thunbnail URL for an image.
Implementation
String getThumbnailUrl(int width, int height,
{int quality = 100, bool scaleToFit = true, String format = 'png'}) {
int mode = scaleToFit ? 2 : 1;
return '$url?imageView/$mode/w/$width/h/$height/q/$quality/format/$format';
}