isPrivate property

bool isPrivate

Whether this is a private type.

Implementation

bool get isPrivate => symbol.startsWith('_');