discontinuedPackage angular_compiler has been discontinued and replaced by ngcompiler.

onDestroy property

String onDestroy
final

Implementation

static final onDestroy = 'ngOnDestroy';