# getIsPublic abstract method

bool getIsPublic()

Checks if this declaration is a public declaration.

Public vlues in dart is often just the name without any prefix. While private values are often prefixed with `_`.

### Example

    class _PrivateClass {
      final String publicField;

      void _privateMethod() {}
    }

    class PublicClass {
      final String _privateField;

      void publicMethod() {}
    }

## Implementation

    bool getIsPublic();