OrganizationSettings class
Constructors
-
OrganizationSettings.new({required OrganizationSettingsObjectEnum object, required bool enabled, required int maxAllowedMemberships, required int maxAllowedRoles, required int maxAllowedPermissions, required String creatorRole, required bool adminDeleteEnabled, required bool domainsEnabled, List<
OrganizationSettingsDomainsEnrollmentModesEnum> domainsEnrollmentModes = const [], required String domainsDefaultRole}) - Returns a new OrganizationSettings instance.
Properties
- adminDeleteEnabled ↔ bool
-
The default for whether an admin can delete an organization with the Frontend API.
getter/setter pair
- creatorRole ↔ String
-
The role key that a user will be assigned after creating an organization.
getter/setter pair
- domainsDefaultRole ↔ String
-
The role key that it will be used in order to create an organization invitation or suggestion.
getter/setter pair
- domainsEnabled ↔ bool
-
getter/setter pair
-
domainsEnrollmentModes
↔ List<
OrganizationSettingsDomainsEnrollmentModesEnum> -
getter/setter pair
- enabled ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxAllowedMemberships ↔ int
-
getter/setter pair
- maxAllowedPermissions ↔ int
-
getter/setter pair
- maxAllowedRoles ↔ int
-
getter/setter pair
- object ↔ OrganizationSettingsObjectEnum
-
String representing the object's type. Objects of the same type share the same value.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → OrganizationSettings? -
Returns a new OrganizationSettings instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< OrganizationSettings> -
mapFromJson(
dynamic json) → Map< String, OrganizationSettings> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< OrganizationSettings> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.