optionalTypeArgs top-level constant

_OptionalTypeArgs const optionalTypeArgs

Used to annotate a class, mixin, or extension declaration C. Indicates that any type arguments declared on C are to be treated as optional. Tools such as the analyzer and linter can use this information to suppress warnings that would otherwise require type arguments on C to be provided.

Implementation

const _OptionalTypeArgs optionalTypeArgs = const _OptionalTypeArgs()