hasTrait<T extends Trait<Object> > method
Whether the shape has a trait of type T
.
Implementation
bool hasTrait<T extends Trait>() => traits.hasTrait<T>();
Whether the shape has a trait of type T
.
bool hasTrait<T extends Trait>() => traits.hasTrait<T>();