isPrivate property

bool get isPrivate

Returns whether this is a private selector (that is, whether it begins with - or _).

Implementation

bool get isPrivate => character.isPrivate(name);