list5 function

List<Object> list5(
  1. Object v1,
  2. Object v2,
  3. Object v3,
  4. Object v4,
  5. Object v5
)

Create a five-element fixed-length list.

Implementation

List<Object> list5(Object v1, Object v2, Object v3, Object v4, Object v5) =>
    List(5)
      ..[0] = v1
      ..[1] = v2
      ..[2] = v3
      ..[3] = v4
      ..[4] = v5;