Triple<Ta, Tb, Tc> class
Structure for holding three values of independent types.
Triples are immutable. If triples are checked for equality, all of the values (a, b and c) of the triple are checked for equality. Triples can be serialized with JsonEncoder.
Constructors
- Triple(Ta a, Tb b, Tc c)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → List - Enables triples to be serialized with JsonEncoder.
-
toString(
) → String -
A string representation of this object.
inherited
-
withA(
Ta value) → Triple< Ta, Tb, Tc> -
withB(
Tb value) → Triple< Ta, Tb, Tc> -
withC(
Tc value) → Triple< Ta, Tb, Tc>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override