updateCell method
Implementation
Future<bool> updateCell({
required String sourceId,
required String collection,
required String column,
required Object? newValue,
required Map<String, Object?> row,
}) async {
busy = true;
lastError = null;
notifyListeners();
try {
await _repository.updateCell(sourceId, collection, column, newValue, row);
busy = false;
notifyListeners();
return true;
} catch (error) {
busy = false;
lastError = 'Failed to update cell: $error';
notifyListeners();
return false;
}
}