getStats method
Fetch details of Cloudflare Images usage statistics
Documentation: https://api.cloudflare.com/#cloudflare-images-images-usage-statistics
Implementation
Future<CloudflareHTTPResponse<ImageStats?>> getStats() async {
assert(!isBasic, RestAPIService.authorizedRequestAssertMessage);
final response = await genericParseResponse(
service.getStats(),
dataType: ImageStats(),
);
return response;
}