Currently, api_summary tracks @experimental, @Deprecated, and @visibleForTesting, but ignores other contractual annotations in pkg:meta, such as @protected, @internal, @visibleForOverriding, and @mustCallSuper. Adding or modifying these annotations imposes usage restrictions on downstream consumers and constitutes a breaking API change.
Example
Changing:
to:
import 'package:meta/meta.dart';
class C {
@protected
void f() {}
}
currently produces identical api_summary output.
Currently,
api_summarytracks@experimental,@Deprecated, and@visibleForTesting, but ignores other contractual annotations inpkg:meta, such as@protected,@internal,@visibleForOverriding, and@mustCallSuper. Adding or modifying these annotations imposes usage restrictions on downstream consumers and constitutes a breaking API change.Example
Changing:
to:
currently produces identical
api_summaryoutput.