updateCapacity function

void updateCapacity(
  1. String data
)

Callback for capacity updates.

This callback is triggered when capacity data changes. Use this to:

  • Update capacity in your backend
  • Refresh related UI components
  • Validate capacity constraints

Implementation

void updateCapacity(String data) {
  debugPrint('!!!!================================!!!!');
  debugPrint(data);
  debugPrint('${data.runtimeType}');
}