getIsInterface method

  1. @override
bool getIsInterface()
override

Returns true if this class is declared as an interface.

Interface classes define a contract that other classes may implement but do not provide concrete implementation guarantees.

Notes

  • Interface classes cannot be instantiated directly
  • They are commonly used to define APIs or capabilities

Implementation

@override
bool getIsInterface() => _isInterface;