protected top-level constant Null safety Indicates that the annotated instance member (method, getter, setter, operator, or field) m in a class or mixin C should only be referenced in specific locations. … m (explicitly or implicitly), and not m on any other instance of C .
What is protected in Dart?
protected top-level constant Null safety Indicates that the annotated instance member (method, getter, setter, operator, or field) m in a class or mixin C should only be referenced in specific locations. … m (explicitly or implicitly), and not m on any other instance of C .