getDownloadLink method

Uri getDownloadLink(
  1. Client sdn
)

Returns a download Link to this content.

Implementation

Uri getDownloadLink(Client sdn) => isScheme('mxc')
    ? sdn.node != null
        ? sdn.node?.resolve(
                '_api/media/v3/download/$host${hasPort ? ':$port' : ''}$path') ??
            Uri()
        : Uri()
    : this;