canDelete method

bool canDelete(
  1. {required Feature feature}
)

Determines whether you can delete the feature from the table.

Although this method may state that the table allows the feature to be deleted, the application may not be licensed to permit this. For example, a user cannot delete features from a secured feature table if the application is licensed at the Lite level (LicenseLevel.lite).

Parameters:

  • feature — The feature.

Return Value: True if the feature can be deleted, false if the feature can't be deleted or an error occurred.

Implementation

bool canDelete({required Feature feature}) {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FeatureTable_canDelete(
        _handle, feature._handle, errorHandler);
  });
}