MentionObject class

Mention object that store the id, display name and avatar url of the mention. You can inherit from this to add your own custom data, should you need to

Constructors

MentionObject({required String id, required String displayName, String? avatarUrl})
const

Properties

avatarUrl String?
avatar url of the mention
final
displayName String
display name of the mention
final
hashCode int
The hash code for this object.
no setterinherited
id String
id of the mention, should match ^(a-zA-Z0-9){1,}$
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