canUpdate method

bool canUpdate(
  1. {required Feature feature}
)

Determines whether you can update the feature in the table.

Although this method may state that the table allows the feature to be updated, the application may not be licensed to permit this. For example, a user cannot update features in 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 updated, false if the feature can't be updated or an error occurred.

Implementation

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