VariableMatch class
Parsed data from a variable path using variablePathRegex
.
Constructors
- VariableMatch({required String text, required String name, required String? path, required String? accessor, required String fullPath, required RegExpMatch? match})
Properties
- accessor → String?
-
final
- fullPath → String
-
final
- hasAccessor → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasOnlyAccessor → bool
-
no setter
- hasPath → bool
-
no setter
- hasPathOrAccessor → bool
-
no setter
- hasRawValue → bool
-
no setter
- isPredefinedVariable → bool
-
no setter
- match → RegExpMatch?
-
final
- name → String
-
final
- path → String?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - text → String
-
final
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
Static Methods
-
fromMatch(
RegExpMatch match) → VariableMatch -
parse(
String text) → VariableMatch? -
Returns a parsed VariableMatch from
text
if it matches thevariablePathRegex
pattern. Otherwise, returns null. -
parseAll(
String text) → List< VariableMatch>