scrapImage method

Future<ImageUploadResult> scrapImage({
  1. required String imageUrl,
  2. bool secureResource = true,
})

KO: 이미지 스크랩하기
imageUrl에 이미지 URL 전달
secureResource로 이미지 URL을 HTTPS로 설정

EN: Scrape image
Pass the image URL to imageUrl
Set whether to use HTTPS for the image URL with secureResource

Implementation

Future<ImageUploadResult> scrapImage({
  required String imageUrl,
  bool secureResource = true,
}) async {
  return await api.scrapImage(imageUrl, secureResource: secureResource);
}