$Pattern class

dart_eval wrapper for Pattern

Implemented types

Constructors

$Pattern.wrap(Pattern $value)
Wrap a Pattern in a $Pattern

Properties

$reified Pattern
Fully reify the underlying value so it can be used in a Dart context. For example, recursively transform collections into their underlying $values.
no setteroverride
$value Pattern
The backing Dart value of this $Value
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$getProperty(Runtime runtime, String identifier) $Value?
Get a property by identifier on this instance
override
$getRuntimeType(Runtime runtime) int
override
$setProperty(Runtime runtime, String identifier, $Value value) → void
Set a property by identifier on this instance to value
override
allMatches(String string, [int start = 0]) Iterable<Match>
Matches this pattern against the string repeatedly.
override
matchAsPrefix(String string, [int start = 0]) Match?
Matches this pattern against the start of string.
override
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

Constants

$declaration → const BridgeClassDef
Compile-time bridge declaration of Pattern
$type → const BridgeTypeRef
Compile-time type reference to Pattern