ImageUpload.withImageData constructor

ImageUpload.withImageData(
  1. Uint8List imageData
)

Creates an object of ImageUpload using an image.

imageData - Image base64.

Implementation

ImageUpload.withImageData(Uint8List imageData) : _imageData = imageData;