AwsS3 class

Convenience class for uploading files to AWS S3

Constructors

AwsS3()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

uploadFile({required String accessKey, required String secretKey, required String bucket, required File file, String? key, String destDir = '', String region = 'us-east-2', ACL acl = ACL.public_read, String? filename, String contentType = 'binary/octet-stream', Map<String, String>? metadata}) Future<String?>
Upload a file, returning the file's public URL on success.