$_swap$BANG_$1 method

dynamic $_swap$BANG_$1(
  1. dynamic f$3
)
override

Implementation

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