allPublicVariables property Null safety

List<Variable<T>> allPublicVariables

Helper for calling allVariablesWithVisibility to fetch all public variables.

Implementation

List<Variable<T>> get allPublicVariables {
  return allVariablesWithVisibility(Visibility.public);
}