$_swap$BANG_$2 method
dynamic
$_swap$BANG_$2(
- dynamic f$4,
- dynamic a$1
override
Implementation
dc.dynamic $_swap$BANG_$2(dc.dynamic f$4, dc.dynamic a$1, ){
late final dc.dynamic $if_$2;
if((f$4 is dc.Function)){
$if_$2=(f$4 as dc.Function)(state, a$1, );
}else if((f$4 is lcoc_core.IFn$iface)){
$if_$2=((f$4 as lcoc_core.IFn$iface).$_invoke$2(state, a$1, ));
}else{
$if_$2=(lcoc_core.IFn.extensions(f$4, ).$_invoke$2(f$4, state, a$1, ));
}
return lcoc_core.set_and_validate_atom_state$BANG_(this, $if_$2, );
}