publicChatTypeHasUsername property
The chat is public, because it has an active username
Implementation
PublicChatTypeHasUsername? get publicChatTypeHasUsername {
if (this is PublicChatTypeHasUsername) {
return this as PublicChatTypeHasUsername;
}
return null;
}