PostPublished

constructor(title: String, username: String, content: String)

Parameters

title

the title of the post

username

the username of the user that published the post

content

the content of the post