Map<String, String> toQueryArguments() { return { if (width != null) 'w': '$width', if (height != null) 'h': '$height', if (quality != null) 'q': '$quality', }; }