copy method

Minio copy({
  1. String? endPoint,
  2. String? accessKey,
  3. String? secretKey,
  4. int? port,
  5. bool? useSSL,
  6. String? sessionToken,
  7. String? region,
  8. bool? pathStyle,
  9. bool? enableTrace,
})

Implementation

Minio copy({
  String? endPoint,
  String? accessKey,
  String? secretKey,
  int? port,
  bool? useSSL,
  String? sessionToken,
  String? region,
  bool? pathStyle,
  bool? enableTrace,
}) =>
    Minio(
      endPoint: endPoint ?? this.endPoint,
      accessKey: accessKey ?? this.accessKey,
      secretKey: secretKey ?? this.secretKey,
      port: port ?? this.port,
      useSSL: useSSL ?? this.useSSL,
      sessionToken: sessionToken ?? this.sessionToken,
      region: region ?? this.region,
      pathStyle: pathStyle ?? this.pathStyle,
      enableTrace: enableTrace ?? this.enableTrace,
    );