menu
scouting_app_2024
agent\parts\option.dart
Option
<
A
,
B
>
onBad method
onBad
brightness_4
brightness_5
onBad
method
void
onBad
(
void
fx
(
B
reason
)
)
Implementation
void onBad(void Function(B reason) fx) { if (isBad) { fx.call(reason); } }
scouting_app_2024
option
Option
<
A
,
B
>
onBad method
Option class