isOptional property Null safety

bool isOptional
final

Whether this is an optional extension.

If an extension isn't optional, it will emit an error if it doesn't match any selectors.

Implementation

final bool isOptional;