visibility property

String visibility

Implementation

String get visibility => _getAttribute<String>(kVisibility, '');
void visibility=(String? x)

Required. Controls how a fund is visible on Church Center. everywhere will allow anyone to donate to the fund on Church Center. admin_only will hide the fund on Church Center, allowing only permitted Giving Users to designate donations to it. nowhere will prevent donations from being designated to the fund altogether, while still displaying fund data in historical reports. hidden will hide the fund from the list of funds in the default Church Center donation form, but allow donors to give to it via direct link, or through Text-to-Give.

Possible values: everywhere, admin_only, nowhere, or hidden

pass null to remove key from attributes

Implementation

set visibility(String? x) => (x == null)
    ? _attributes.remove(kVisibility)
    : _attributes[kVisibility] = x;