getCropped method
Crop an image using its URL. A new URL is then returned by the API.
Examples:
- create a 50x50 thumbnail and crop from center
await client.images.getCropped(
'imageUrl',
const Crop(50, 50),
);
Implementation
Future<String?> getCropped(String url, Crop crop) =>
_process(url, crop.params);