toList method Null safety

List toList(
  1. {bool growable = false}
)

Creates a List containing the items of this Tuple3.

The elements are in item order. The list is variable-length if growable is true.

Implementation

List toList({bool growable = false}) =>
    List.from([item1, item2, item3], growable: growable);