Triple<F, S, T> class

Represents a generic triple of three values.

Annotations
  • @immutable
  • @Deprecated('Deprecated in favor of Records in Dart 3. Use Record instead')

Constructors

Triple(F first, S second, T third)
Creates a new instance of triple

Properties

first → F
First value of triple.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second → S
Second value of triple.
final
third → T
Third value of triple.
final

Methods

copyWith({F? first, S? second, T? third}) Triple<F, S, T>
Allows to create a new triple from this triple, but will different values.
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