AmplifyStorageS3 constructor

AmplifyStorageS3({
  1. StorageS3PrefixResolver? prefixResolver,
})

The AWS S3 implementation of the Amplify Storage category.

Implementation

factory AmplifyStorageS3({StorageS3PrefixResolver? prefixResolver}) {
  if (zIsWeb || Platform.isWindows || Platform.isMacOS || Platform.isLinux) {
    throw UnsupportedError('This platform is not supported yet');
  }
  return AmplifyStorageS3MethodChannel(prefixResolver: prefixResolver);
}