Minio constructor

Minio({
  1. String? endPoint,
  2. int? port,
  3. bool useSSL = true,
  4. String accessKey = '',
  5. String secretKey = '',
  6. String? sessionToken,
  7. String? region,
  8. bool enableTrace = false,
})

Initializes a new client object.

Implementation

Minio({
  this.endPoint,
  this.port,
  this.useSSL = true,
  this.accessKey = '',
  this.secretKey = '',
  this.sessionToken,
  this.region,
  this.enableTrace = false,
})  : assert(isValidEndpoint(endPoint)),
      assert(port == null || isValidPort(port)){
  _client = MinioClient(this);
}