list1 function

List<Object> list1(
  1. Object v1
)

Create a single-element fixed-length list.

Implementation

List<Object> list1(Object v1) => List(1)..[0] = v1;