AWSFilePlatform.fromFile constructor

AWSFilePlatform.fromFile(
  1. File file,
  2. {String? contentType}
)

Creates an AWSFile from io File.

Implementation

AWSFilePlatform.fromFile(
  File file, {
  super.contentType,
})  : _stream = null,
      _inputFile = file,
      _size = null,
      super.protected();