cast<T> method

List<T> cast<T>(
  1. List value
)

Returns a view of the given value as a list of T instances.

Implementation

List<T> cast<T>(final List value) => value.cast<T>();