isPrivate property
bool
get
isPrivate
Whether or not this attribute is private or not.
Private variables are prefixed with _
(underscores). This properties are not read
or written to maps and cannot be accessed from outside the class.
This flag is not included in schemas documents used by database migrations and other tools.
Implementation
bool get isPrivate {
return name.startsWith("_");
}