MatchPattern class final
- Inheritance
-
- Object
- SyntaxElement
- Pattern
- MatchPattern
Constructors
-
MatchPattern({required String debugName, StyleName? styleName, required String match, Map<
int, CapturePattern> captures = const {}}) -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
Converts
thisand returns a Map representing a JSON object. This allows for easy integration with dart's JsonEncoder class.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited