TextParser class Null safety

A class that parses text according to specified matchers.

Constructors

TextParser({List<TextMatcher> matchers = _kDefaultMatchers, bool multiLine = false, bool caseSensitive = true, bool unicode = false, bool dotAll = false})
Creates a TextParser that parses text according to specified matchers.

Properties

hashCode int
The hash code for this object.
read-only, inherited
matchers List<TextMatcher>
The list of matchers.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
parse(String text, {bool onlyMatches = false, bool useIsolate = true}) Future<List<TextElement>>
Parses the provided text according to the matchers specified in the constructor.
toString() String
A string representation of this object.
inherited

Operators

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