Returns a view of the given value as a list of T instances.
value
T
List<T> cast<T>(final List value) => value.cast<T>();