AWSFilePlatform.fromBlob constructor

AWSFilePlatform.fromBlob(
  1. Blob blob, {
  2. String? contentType,
})

Creates an AWSFile from html Blob.

Implementation

AWSFilePlatform.fromBlob(Blob blob, {super.contentType})
  : _stream = null,
    _inputBlob = blob,
    _inputFile = null,
    _size = blob.size,
    super.protected();