onSelect property
Implementation
set onSelect(OnItemAction newValue) {
// It is necessary to change only the [onSelect] implementation.
// The identifier should remain the same since it is used only to
// assure uniqueness.
this.methods['$_onSelect'] = newValue;
}