It is a representation of wildcard search pattern with signature name with which to identify them later. In addition you can pass an anonymous function that will be called once pattern is found.
Signature sig3 = new Signature("pattern3", "AB??EF", func: () => print('Found pattern3'));
Constructors
- Signature(String name, String pattern, { func: null })
Properties
- ExecFunc → dynamic
-
read-only
- FoundOffset → int
-
read / write
- Name → String
-
read-only
- Pattern → List<_Byte>
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited