FoodEvent constructor

FoodEvent(
  1. Function on
)

The constructor, specifying the callback which must be fired when synchronization is done

Implementation

/* ctor */ FoodEvent(this.on);