initWithPlainSecret method
设置永久秘钥
Implementation
Future<void> initWithPlainSecret(String secretId, String secretKey) async {
if (!_initialized) {
_initialized = true;
return await _cosApi.initWithPlainSecret(secretId, secretKey);
} else {
if (kDebugMode) {
print("COS Service has been inited before.");
}
}
}