BiDirectionalConvert<A, B> class
A bidirectional converter between types A and B.
Encapsulates conversion logic in both directions, allowing seamless transformation between two types.
Constructors
-
BiDirectionalConvert(Convert<
A, B> aToB, Convert<B, A> bToA) -
Creates a BiDirectionalConvert.
const
Properties
Methods
-
convertA(
A value) → B - Converts a value from type A to type B.
-
convertB(
B value) → A - Converts a value from type B to type A.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override