TypeMatcher class
Helper class matches value types for equality.
This class has symmetric implementation across all languages supported by Pip.Services toolkit and used to support dynamic data processing.
See TypeCode
Constructors
Properties
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
matchType(
dynamic expectedType, TypeCode actualType, [ dynamic actualValue ]) → bool - Matches expected type to an actual type. The types can be specified as types, type names or TypeCode. [...]
-
matchTypeByName(
String expectedType, TypeCode actualType, [ dynamic actualValue ]) → bool - Matches expected type to an actual type. [...]
-
matchValueType(
dynamic expectedType dynamic actualValue) → bool - Matches expected type to a type of a value. The expected type can be specified by a type, type name or TypeCode. [...]
-
matchValueTypeByName(
String expectedType, dynamic actualValue) → bool - Matches expected type to a type of a value. [...]