ProfileFieldsCapability class

Annotations
  • @_NameSource('spec')

Constructors

ProfileFieldsCapability.new({List<String>? allowed, List<String>? disallowed, required bool enabled})
ProfileFieldsCapability.fromJson(Map<String, Object?> json)

Properties

allowed List<String>?
If present, a list of profile fields that clients are allowed to create, modify or delete, provided enabled is true; no other profile fields may be changed.
getter/setter pair
disallowed List<String>?
This property has no meaning if allowed is also specified.
getter/setter pair
enabled bool
true if the user can create, update or delete any profile fields, false otherwise.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
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, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override