Domain Documentation

Class User​With​Follow​Row

public final class UserWithFollowRow: Codable  

Representation of a row combining Users and Follows information about them.

UserWithFollowRow UserWithFollowRow Codable Codable UserWithFollowRow->Codable

Conforms To

Codable

Initializers

init(id:​username:​email:​bio:​image:​following:​)

public init(id: Int, username: String, email: String, bio: String, image: String, following: Bool?)  

Default initializer.

Properties

id

public let id: Int

Same as Users's id.

username

public let username: String

Same as Users's username.

email

public let email: String

Same as Users's email.

bio

public let bio: String

Same as Users's bio.

image

public let image: String

Same as Users's image.

following

public let following: Bool? 

Whether the person who referenced this user information is following this user.