Processing<T> class
A type-safe wrapper for processing a T
value into a new T
value.
This operation is short-circuited if the input value is null
.
Extends Operation and enforces runtime type checks for both input and output types.
Constructors
-
Processing.new(ResProcessor<
T> p, {required bool isUserDefined}) -
Creates a Processing using the provided
p
function.
Properties
-
fn
→ ConfiguredTransformer<
T?, T?> -
Getter to obtain the transformation function fn with from nullable type
From
and to nullable typeTo
. Wraps the saved not nullable transformer with nullable handler.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- isUserDefined → bool
-
Indicates whether this operation is user-defined,
as opposed to a built-in operations like
.min()
or.trim()
.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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