getIsAbstract abstract method

bool getIsAbstract()

Returns true if this class is marked abstract.

Abstract classes cannot be instantiated directly and are intended to be subclassed. They may contain abstract methods that must be implemented by subclasses.

Example

abstract class Shape {}
print(shapeClass.getIsAbstract()); // true

Implementation

bool getIsAbstract();