getEndpoint method

String getEndpoint(
  1. String bucket,
  2. String? regionValue
)

获取接入点 bucket 存储桶名称 regionValue 地域名称,默认使用 region

Implementation

String getEndpoint(String bucket, String? regionValue) =>
    '$scheme://$bucket.cos.${regionValue ?? region}.myqcloud.com';