Skip to main content

ImageService class

ImageService class provides different functions as service in the context of Images.

Services include:

  • cropImage
  • convertToBase64

Constructors

ImageService

:

Properties

[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::

[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::

Methods

[convertToBase64][([[File] file]) [→ Future[<[String]>]] ] : Converts the image into Base64 format.

[cropImage][ [→ Future[<[File?]>]] ] : Crops the image selected by the user.

[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::

[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::

Operators

[operator ==][([[Object] other]) [→ bool] ] : The equality operator. ::: features inherited :::

  1. talawa
  2. image_service
  3. ImageService class
image_service library