compare function
int
compare(
- dynamic x$1,
- dynamic y$1
)
Implementation
dc.int compare(dc.dynamic x$1, dc.dynamic y$1, ){
if(dc.identical(x$1, y$1, )){
return 0;
}
if((null==x$1)){
return -1;
}
if((null==y$1)){
return 1;
}
if((x$1 is dc.Comparable)){
return ((x$1 as dc.Comparable).compareTo(y$1, ));
}
final dc.dynamic o8223$1=x$1;
final dc.dynamic other8224$1=y$1;
if((o8223$1 is lcoc_core.IComparable$iface)){
return ((o8223$1 as lcoc_core.IComparable$iface).$_compare$1(other8224$1, ));
}
return ((lcoc_core.IComparable.extensions(o8223$1, ) as lcoc_core.IComparable$ext).$_compare$1(o8223$1, other8224$1, ));
}