AsTypeX<S extends Object?> extension

extension on Object?

on
  • S

Methods

as<T>() → T
tries to case S as T and throws an AsTypeError if fails