symlinks property

List<List<int>> symlinks

Known symlinks in /dev that points to the device file in the device property.

Implementation

List<List<int>> get symlinks {
  var value = _object.getCachedProperty(_blockInterfaceName, 'Symlinks');
  if (value == null) {
    return [];
  }
  if (value.signature != DBusSignature('aay')) {
    return [];
  }
  List<int> parseByteArray(DBusArray v) =>
      v.children.map((e) => (e as DBusByte).value).toList();
  return (value as DBusArray)
      .children
      .map((e) => parseByteArray(e as DBusArray))
      .toList();
}