getInstance static method
IPFSUtils
getInstance(
- String secretKey, {
- String requestUrl = "http://hn.vonechain.com:88",
- String downloadUrl = "http://hn.vonechain.com:88",
- String previewUrl = "http://hn.vonechain.com:88/ipfsPreview/onlinePreview",
})
Implementation
static IPFSUtils getInstance(
String secretKey, {
String requestUrl = "http://hn.vonechain.com:88",
String downloadUrl = "http://hn.vonechain.com:88",
String previewUrl = "http://hn.vonechain.com:88/ipfsPreview/onlinePreview",
}) {
instance ??= IPFSUtils(secretKey, requestUrl, downloadUrl, previewUrl);
return instance!;
}