getCoverPath method

String getCoverPath(
  1. String url
)

视频封面的路径

Implementation

String getCoverPath(String url) {
  if (url.isEmpty) {
    return "";
  }
  return '${IPFSUtils.instance!.downloadUrl}${HttpApi.coverDownload}?$url';
}