DBusObjectPath class
A D-Bus object path.
An object path is a text string that refers to an object on the D-Bus.
The path must begin with / and contain the characters [A-Z][a-z][0-9]_ separated by more / dividers.
/org/freedesktop/DBus is a valid object path.
- Inheritance
-
- Object
- DBusValue
- DBusString
- DBusObjectPath
Constructors
- DBusObjectPath(String value)
-
Creates a new D-Bus object path with the given
value. - DBusObjectPath.unchecked(String value)
-
Creates a new D-Bus object path with the given
value.const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → DBusSignature
-
Gets the signature for this value.
no setteroverride
- value → String
-
A Unicode text string.
finalinherited
Methods
-
isInNamespace(
DBusObjectPath namespace) → bool -
Returns true if this object path is under
namespace. e.g. '/org/freedesktop/DBus' is under '/org/freedesktop'. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
split(
) → List< String> -
Splits an object path into separate elements, e.g. '/org/freedesktop/DBus' ->
'org', 'freedesktop', 'DBus'. -
toNative(
) → dynamic -
Converts this value to a native Dart representation.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- root → const DBusObjectPath
- The root object path ("/").