AddRolesToRoleSetRequest class

Constructors

AddRolesToRoleSetRequest({List<String> roleKeys = const [], String? defaultRoleKey, String? creatorRoleKey})
Returns a new AddRolesToRoleSetRequest instance.

Properties

creatorRoleKey String?
Optionally update the creator role to one of the newly added roles.
getter/setter pair
defaultRoleKey String?
Optionally update the default role to one of the newly added roles.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
roleKeys List<String>
Array of role keys to add to the role set. Must contain at least one role and no more than 10 roles.
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) AddRolesToRoleSetRequest?
Returns a new AddRolesToRoleSetRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AddRolesToRoleSetRequest>
mapFromJson(dynamic json) Map<String, AddRolesToRoleSetRequest>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AddRolesToRoleSetRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.