addAndReturn method

List<T> addAndReturn(
  1. T t
)

Implementation

List<T> addAndReturn(T t) => <T>[...this, t];