get method
Fetch details of a single image.
Documentation: https://api.cloudflare.com/#cloudflare-images-image-details
Implementation
Future<CloudflareHTTPResponse<CloudflareImage?>> get({
/// Image identifier
String? id,
/// Image with the required identifier
CloudflareImage? image,
}) async {
assert(!isBasic, RestAPIService.authorizedRequestAssertMessage);
assert(
id != null || image != null, 'One of id or image must not be empty.');
id ??= image?.id;
final response = await parseResponse(service.get(
id: id!,
));
return response;
}