isSupportedAspect method Null safety

  1. @protected
bool isSupportedAspect(
  1. Object aspect
)
protected">@protected

Returns true if this model supports the given aspect.

Returns true by default: this model supports all aspects.

Subclasses may override this method to indicate that they do not support all model aspects. This is typically done when a model can be used to "shadow" some aspects of an ancestor.

Implementation

@protected
bool isSupportedAspect(Object aspect) => true;