deleteRegistryImage method
Implementation
Future<DeletedRegistryImage> deleteRegistryImage({required String image}) async {
final output = await room.invoke(
toolkit: 'containers',
tool: 'delete_registry_image',
input: ToolContentInput(JsonContent(json: {'image': image})),
);
if (output is! ToolContentOutput || output.content is! JsonContent) {
throw _unexpectedResponseError(operation: 'delete_registry_image');
}
return DeletedRegistryImage.fromJson((output.content as JsonContent).json);
}