Visibility class

The group or role to which this item is visible.

Constructors

Visibility({String? identifier, VisibilityType? type, String? value})
Visibility.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String?
The ID of the group or the name of the role that visibility of this item is restricted to.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type VisibilityType?
Whether visibility of this item is restricted to a group or role.
final
value String?
The name of the group or role that visibility of this item is restricted to. Please note that the name of a group is mutable, to reliably identify a group use identifier.
final

Methods

copyWith({String? identifier, VisibilityType? type, String? value}) Visibility
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