defaultVisibility property

bool get defaultVisibility

Whether the features in the layer should be visible when loaded.