AWSFile.fromData constructor

AWSFile.fromData(
  1. List<int> data,
  2. {String? name,
  3. String? contentType}
)

Create an AWSFile from a list of bytes.

Implementation

factory AWSFile.fromData(
  List<int> data, {
  String? name,
  String? contentType,
}) = AWSFilePlatform.fromData;