onBool method
Implementation
@override
void onBool(bool? state) {
// Do not add nulls
if (state == null) {
return;
}
final item = DartItem();
item.data = state;
item.type = dartTypes.dtBool;
item.complete = true;
_append(item);
}