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
-
convertFileToCast(
Uint8List data) → dynamic - A method to convert File To Cast
-
uploadFile(
{required String accessKey, required String secretKey, required String bucket, required File file, required String region, required String destDir, required String filename, String? key, ACL acl = ACL.public_read, String contentType = 'binary/octet-stream', bool useSSL = true, Map< String, String> ? metadata}) → Future<String> - Upload a file, returning the status code 200/204 on success.
-
uploadUint8List(
{required String accessKey, required String secretKey, required String bucket, required Uint8List file, required String region, required String destDir, required String filename, String? key, ACL acl = ACL.public_read, String contentType = 'binary/octet-stream', bool useSSL = true, Map< String, String> ? metadata}) → Future<String> - Upload a Uint8List, returning the status code 200/204 on success.