MentionNode class

AST node representing a user mention (@username)

Inheritance

Constructors

MentionNode(String username)
Creates a new mention node
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type identifier for this node
no setteroverride
username String
The username being mentioned (without the @ symbol)
final

Methods

copyWith({String? username}) MentionNode
Creates a copy of this node
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this node to a JSON representation
override
toString() String
A string representation of this object.
override

Operators

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