OrganizationFeatureConfig class
- Inheritance
-
- Object
- FeatureConfig
- OrganizationFeatureConfig
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.kebab, createToJson: false)
Constructors
-
OrganizationFeatureConfig.new({AddressInput addressInput = const AddressInput(), ContactInput contactInput = const ContactInput(), String? optionSubtitle, bool membershipRequired = false, bool creationRestricted = false, bool showDefaultOrgInStatus = false, bool canChangeDefaultOrg = false, List<
String> quotasToShowInStatus = const [], String? allowedEmailDomains, String? allowedEmailExample, String defaultCountryCode = 'US'}) -
const
-
OrganizationFeatureConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
- addressInput → AddressInput
-
final
- allowedEmailDomains → String?
-
final
- allowedEmailExample → String?
-
final
- canChangeDefaultOrg → bool
-
if true then user can change the
default organization if they have
more than one and it is shown
in the status bar
final
- contactInput → ContactInput
-
final
- creationRestricted → bool
-
if true then user can only create a
single organization
final
- defaultCountryCode → String
-
final
- emailValidator → Validator
-
Returns a validator that checks that
email is valid and that it matches
the allowed email domains if provided.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- membershipRequired → bool
-
if true then user should either be a
member of an organization or needs to
create one in order to use the app
final
- optionSubtitle → String?
-
final
-
quotasToShowInStatus
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDefaultOrgInStatus → bool
-
if true then the default organization
should be shown in the status bar
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited