$_invoke$2 method

dynamic $_invoke$2(
  1. dynamic result$2,
  2. dynamic input$1
)
override

Implementation

dc.dynamic $_invoke$2(dc.dynamic result$2, dc.dynamic input$1, ){
final dc.dynamic n$2=lcoc_core.deref(nv$1, );
final lcoc_core.Volatile o7959$1=nv$1;
final lcoc_core.Volatile o7652$1=nv$1;
late final dc.dynamic $if_$1;
if((o7652$1 is lcoc_core.IDeref$iface)){
$if_$1=((o7652$1 as lcoc_core.IDeref$iface).$_deref$0());
}else{
$if_$1=((lcoc_core.IDeref.extensions(o7652$1, ) as lcoc_core.IDeref$ext).$_deref$0(o7652$1, ));
}
final dc.num new_value7960$1=(($if_$1 as dc.num)-1);
if((o7959$1 is lcoc_core.IVolatile$iface)){
(o7959$1 as lcoc_core.IVolatile$iface).$_vreset$BANG_$1(new_value7960$1, );
}else{
(lcoc_core.IVolatile.extensions(o7959$1, ) as lcoc_core.IVolatile$ext).$_vreset$BANG_$1(o7959$1, new_value7960$1, );
}
if((0<(n$2 as dc.num))){
return result$2;
}
if((rf$1 is dc.Function)){
return (rf$1 as dc.Function)(result$2, input$1, );
}
if((rf$1 is lcoc_core.IFn$iface)){
return ((rf$1 as lcoc_core.IFn$iface).$_invoke$2(result$2, input$1, ));
}
return (lcoc_core.IFn.extensions(rf$1, ).$_invoke$2(rf$1, result$2, input$1, ));
}