cast<R> method

List<R> cast<R>()

convert to other

Implementation

List<R> cast<R>() {
  return map((e) => e.cast<R>()).toList();
}