copyWith method

S3PluginConfig copyWith({
  1. String? bucket,
  2. String? region,
  3. StorageAccessLevel? defaultAccessLevel,
})

Implementation

S3PluginConfig copyWith({
  String? bucket,
  String? region,
  StorageAccessLevel? defaultAccessLevel,
}) {
  return S3PluginConfig(
    bucket: bucket ?? this.bucket,
    region: region ?? this.region,
    defaultAccessLevel: defaultAccessLevel ?? this.defaultAccessLevel,
  );
}