getIsBase method
Returns true if this class is declared as base.
A base class may be extended or implemented only within the same library unless explicitly permitted. This prevents external implementations while still allowing controlled inheritance.
Use cases
- Framework extension points
- Preventing uncontrolled third-party implementations
Implementation
@override
bool getIsBase() => _isBase;