handleGetValueChangeNotification method

  1. @override
bool handleGetValueChangeNotification(
  1. SparkBeaconNotification<List<SparkTagGroupItem>> notification
)
override

Implementation

@override
bool handleGetValueChangeNotification(
  SparkBeaconNotification<List<SparkTagGroupItem>> notification,
) {
  List<SparkTagGroupItem> _value = notification.value;
  if (_isPreviewMode) {
    for (var element in _value) {
      element.needSelected = true;
    }
  }
  manage.updateValue(_value, true);
  return true;
}