to<E, T> method

E to<E, T>(
  1. E toe(
    1. T e
    )
)

Implementation

E to<E, T>(E Function(T e) toe) {
  return toe(cast<T>());
}