functions library

Functions library.

Functions

getAvatarUrl(User user, {API? api, Hosts? hosts}) Uri
Returns user's avatar url using hosts settings from api client or provided hosts config.
getImageUrl(Image image, {API? api, Hosts? hosts}) Uri
Returns image url using hosts settings from api client or provided hosts config.