UserFilter class

Filter for a User Picker (single) custom field.

Constructors

UserFilter({required bool enabled, List<String>? groups, List<int>? roleIds})
UserFilter.fromJson(Map<String, Object?> json)
factory

Properties

enabled → bool
Whether the filter is enabled.
final
groups → List<String>
User groups autocomplete suggestion users must belong to. If not provided, the default values are used. A maximum of 10 groups can be provided.
final
hashCode → int
The hash code for this object.
no setterinherited
roleIds → List<int>
Roles that autocomplete suggestion users must belong to. If not provided, the default values are used. A maximum of 10 roles can be provided.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? enabled, List<String>? groups, List<int>? roleIds}) → UserFilter
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited