setResult method

  1. @visibleForTesting
void setResult(
  1. ClassificationResult? result
)

Sets the classification result.

This method is visible for testing purposes only.

Parameters:

  • result: The classification result to set, or null to clear

Implementation

@visibleForTesting
void setResult(ClassificationResult? result) {
  _result = result;
  notifyListeners();
}