autoDeleteMode property

bool get autoDeleteMode

Whether the underlying bookmarks database is automatically deleted when this object is destroyed.

When true, the database file is removed when the RouteBookmarks instance is disposed. Default value is false.

Returns

  • bool: current auto-delete mode.

Implementation

bool get autoDeleteMode {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteBookmarks',
    'getAutoDeleteMode',
  );

  return resultString['result'];
}
set autoDeleteMode (bool mode)

Enable or disable automatic deletion of the underlying bookmarks file when this object is disposed.

Parameters

  • mode: true to enable auto-delete, false to disable.

Implementation

set autoDeleteMode(final bool mode) {
  objectMethod(pointerId, 'RouteBookmarks', 'setAutoDeleteMode', args: mode);
}