Skip to content

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

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

Properties

head extension no setter

T1 get head

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

Implementation
dart
T1 get head => $1;

init extension no setter

Record get init

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

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

last extension no setter

T9 get last

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

Implementation
dart
T9 get last => $9;

tail extension no setter

Record get tail

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

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

Methods

appended() extension

Record appended<T10>(T10 $10)

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

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

call() extension

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

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

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

copy() extension

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

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

Implementation
dart
(T1, T2, T3, T4, T5, T6, T7, T8, T9) copy({
  T1? $1,
  T2? $2,
  T3? $3,
  T4? $4,
  T5? $5,
  T6? $6,
  T7? $7,
  T8? $8,
  T9? $9,
}) => (
  $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,
);

prepended() extension

Record prepended<T10>(T10 $10)

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

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