$_invoke$vararg method
dynamic
$_invoke$vararg(
- dynamic x$1,
- dynamic p$8837_$1
override
Implementation
dc.dynamic $_invoke$vararg(dc.dynamic x$1, dc.dynamic p$8837_$1, ){
final dc.dynamic o$1=p$8837_$1;
late final dc.dynamic o$2;
if(((lcoc_core.ISeq.satisfies(o$1, )) as dc.bool)){
final dc.dynamic o7603$12=o$1;
late final dc.dynamic $if_$11;
if((o7603$12 is lcoc_core.ISeqable$iface)){
$if_$11=((o7603$12 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
$if_$11=((lcoc_core.ISeqable.extensions(o7603$12, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$12, ));
}
o$2=lcoc_core.$_map_lit($if_$11, );
}else{
o$2=o$1;
}
final dc.dynamic meta$1=(lcoc_core.$get_.$_invoke$2(o$2, const lcoc_core.Keyword(null, "meta", 569132720, ), ));
final dc.dynamic validator$1=(lcoc_core.$get_.$_invoke$2(o$2, const lcoc_core.Keyword(null, "validator", 3753690768, ), ));
final dc.bool or$7508_$AUTO_$1=(null==meta$1);
late final dc.bool $if_$12;
if(or$7508_$AUTO_$1){
$if_$12=or$7508_$AUTO_$1;
}else{
$if_$12=lcoc_core.map$QMARK_(meta$1, );
}
if($if_$12){
}else{
throw dc.Exception("meta must satisfies IMap.", );
}
if(((validator$1!=false)&&(validator$1!=null))){
lcoc_core.validate_atom_state(validator$1, x$1, );
}else{
}
return lcoc_core.Atom(x$1, meta$1, validator$1, lcoc_core.$_EMPTY_MAP, );
}