PropertyPermission enum Model
The permission hint of an INDI property.
Values
- readOnly → const PropertyPermission
-
The client may only read the property.
const PropertyPermission('ro') - writeOnly → const PropertyPermission
-
The client may only write the property.
const PropertyPermission('wo') - readWrite → const PropertyPermission
-
The client may read and write the property.
const PropertyPermission('rw')
Properties
- canRead → bool
-
Whether a client is allowed to read the property's values.
no setter
- canWrite → bool
-
Whether a client is allowed to send new values for the property.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
The value used for this permission in the INDI XML protocol.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tryParse(
String? value) → PropertyPermission? - Parses an INDI permission value, ignoring case and surrounding whitespace.
Constants
-
values
→ const List<
PropertyPermission> - A constant List of the values in this enum, in order of their declaration.