Callback.boolSelection constructor Null safety

const Callback.boolSelection(
  1. {required Callback trueCallback,
  2. required Callback falseCallback}
)

Implementation

const factory Callback.boolSelection({
  required Callback trueCallback,
  required Callback falseCallback,
}) = BoolSelectionCallback;