optionalTypeArgs top-level constant

const optionalTypeArgs = const _OptionalTypeArgs()

Used to annotate a class 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 to be provided for instances of C.


const _OptionalTypeArgs optionalTypeArgs = const _OptionalTypeArgs()