dsx method

dynamic dsx([
  1. dynamic a1,
  2. dynamic a2,
  3. dynamic a3,
  4. dynamic a4,
  5. dynamic a5,
  6. dynamic a6,
  7. dynamic a7,
  8. dynamic a8,
  9. dynamic a9,
  10. dynamic a10,
])

Implementation

dynamic dsx([
  dynamic a1,
  dynamic a2,
  dynamic a3,
  dynamic a4,
  dynamic a5,
  dynamic a6,
  dynamic a7,
  dynamic a8,
  dynamic a9,
  dynamic a10,
]) {
  if (this == null) return null;

  var dsx = _toDSX(this, this, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  if (dsx != null) return dsx;

  var dsxValue = _toDSXValue(this);
  if (dsxValue != null) {
    dsx = _toDSX(this, dsxValue, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
  }

  dsx ??= DSX(this as Object, this);

  return dsx;
}