Skip to content

Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

extension Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> on Record

Properties

head extension no setter

T1 get head

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
T1 get head => $1;

init extension no setter

Record get init

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
(T1, T2, T3, T4, T5, T6, T7, T8, T9) get init => ($1, $2, $3, $4, $5, $6, $7, $8, $9);

last extension no setter

T10 get last

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
T10 get last => $10;

tail extension no setter

Record get tail

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
(T2, T3, T4, T5, T6, T7, T8, T9, T10) get tail => ($2, $3, $4, $5, $6, $7, $8, $9, $10);

Methods

appended() extension

Record appended<T11>(T11 $11)

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) appended<T11>(T11 $11) => (
  $1,
  $2,
  $3,
  $4,
  $5,
  $6,
  $7,
  $8,
  $9,
  $10,
  $11,
);

call() extension

T11 call<T11>(T11 Function(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) f)

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
T11 call<T11>(Function10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> f) =>
    f($1, $2, $3, $4, $5, $6, $7, $8, $9, $10);

copy() extension

Record copy({
  T1? $1,
  T2? $2,
  T3? $3,
  T4? $4,
  T5? $5,
  T6? $6,
  T7? $7,
  T8? $8,
  T9? $9,
  T10? $10,
})

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) copy({
  T1? $1,
  T2? $2,
  T3? $3,
  T4? $4,
  T5? $5,
  T6? $6,
  T7? $7,
  T8? $8,
  T9? $9,
  T10? $10,
}) => (
  $1 ?? this.$1,
  $2 ?? this.$2,
  $3 ?? this.$3,
  $4 ?? this.$4,
  $5 ?? this.$5,
  $6 ?? this.$6,
  $7 ?? this.$7,
  $8 ?? this.$8,
  $9 ?? this.$9,
  $10 ?? this.$10,
);

prepended() extension

Record prepended<T11>(T11 $11)

Available on Record, provided by the Tuple10Ops<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extension

Implementation
dart
(T11, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) prepended<T11>(T11 $11) => (
  $11,
  $1,
  $2,
  $3,
  $4,
  $5,
  $6,
  $7,
  $8,
  $9,
  $10,
);