RecordOfValuesExtension5<T1, T2, T3, T4, T5> extension

Extension on a Record with 5 positional values.

on
  • (T1, T2, T3, T4, T5)

Properties

fifth → T5
Returns the fifth element of this record.
no setter
first → T1
Returns the first element of this record.
no setter
fourth → T4
Returns the fourth element of this record.
no setter
last → T5
Returns the last element of this record.
no setter
second → T2
Returns the second element of this record.
no setter
third → T3
Returns the third element of this record.
no setter

Methods

map<R>(R callback(T1, T2, T3, T4, T5)) → R
Converts this Record with 5 positional values to a new type R using the provided callback with 5 positional arguments.