mapAs<U> method

T mapAs<U>(
  1. U fn()
)

Implementation

T mapAs<U>(U Function() fn) => fn() as T;