da static method

Object? da(
  1. Object? o,
  2. Type into
)

Implementation

static Object? da(Object? o, Type into) {
  _;
  for ((Type, Type) i in $artifactCodecs.keys) {
    if (i.$1 == o.runtimeType && i.$2 == into) {
      return $artifactCodecs[i]?.decode(o);
    }
  }

  return o;
}