emptyProfile
fun emptyProfile(hash: String, displayName: String = "", profileUrl: URI = ProfileUrl(Hash(hash)).url.toURI(), avatarUrl: URI = AvatarUrl(Hash(hash)).url().toURI(), avatarAltText: String = "", location: String = "", description: String = "", jobTitle: String = "", company: String = "", verifiedAccounts: List<VerifiedAccount> = emptyList(), pronunciation: String = "", pronouns: String = "", links: List<Link>? = null, payments: ProfilePayments? = null, contactInfo: ProfileContactInfo? = null, gallery: List<GalleryImage>? = null, numberVerifiedAccounts: Int? = null, lastProfileEdit: Instant? = null, registrationDate: Instant? = null): Profile
Deprecated
This class is deprecated and will be removed in a future release.
Replace with
com.gravatar.extensions.defaultProfile
Content copied to clipboard
Instantiates an empty profile with the given hash by default. You can also provide other values to override the default empty values.