discontinuedPackage angular_compiler has been discontinued and replaced by ngcompiler.

isAttribute property

bool get isAttribute

Implementation

bool get isAttribute => attribute != null;