ChatUser class

A class representing a user in the chat.

Constructors

ChatUser({required String id, required String name, String? avatarUrl})
Creates a new ChatUser instance.

Properties

avatarUrl → String?
An optional URL for the user's avatar image.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique identifier for the user.
final
name → String
The display name of the user.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited