getOssConfig static method

Future<Map<String, dynamic>> getOssConfig()

Implementation

static Future<Map<String, dynamic>> getOssConfig() async {
  if (ossConfig != null) {
    return ossConfig!();
  } else {
    throw Exception("OSS配置获取函数未设置");
  }
}