isExtension abstract method
Checks if this class represents an extension.
Returns:
truefor extension declarationsfalsefor other types
Example:
extension StringExtension on String {}
Class<StringExtension>().isExtension(); // true
Implementation
bool isExtension();