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