optionalParameter constant

TargetKind const optionalParameter

Indicates that an annotation is valid on any optional formal parameter declaration, whether it's in a constructor, function (named or anonymous), function type, function-typed formal parameter, or method.

Implementation

static const optionalParameter =
    TargetKind._('optional parameters', 'optionalParameter');