The meta package provides a @protected
annotation (besides others) to get analyzer hints or warnings about the use of protected members outside of direct subclasses.
INFO: The member 'selectedChildrenChanged' can only be used within instance members of subclasses of 'MenuItem' ([bwu_ng_quick_nav] test/menu_item_test.dart:108)
I'm not interested in these hints in my unit tests.
How can I suppress such hints?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…