DSX<T>.varArgs constructor
DSX<T>.varArgs (
- Object objSource,
- T obj, [
- dynamic a1,
- dynamic a2,
- dynamic a3,
- dynamic a4,
- dynamic a5,
- dynamic a6,
- dynamic a7,
- dynamic a8,
- dynamic a9,
- dynamic a10,
Implementation
factory DSX.varArgs(
Object objSource,
T obj, [
dynamic a1,
dynamic a2,
dynamic a3,
dynamic a4,
dynamic a5,
dynamic a6,
dynamic a7,
dynamic a8,
dynamic a9,
dynamic a10,
]) {
if (a10 != null) {
return DSX(objSource, obj,
parameters: [a1, a2, a3, a4, a5, a6, a7, a8, a9, 10]);
} else if (a9 != null) {
return DSX(objSource, obj,
parameters: [a1, a2, a3, a4, a5, a6, a7, a8, a9]);
} else if (a8 != null) {
return DSX(objSource, obj, parameters: [a1, a2, a3, a4, a5, a6, a7, a8]);
} else if (a7 != null) {
return DSX(objSource, obj, parameters: [a1, a2, a3, a4, a5, a6, a7]);
} else if (a6 != null) {
return DSX(objSource, obj, parameters: [a1, a2, a3, a4, a5, a6]);
} else if (a5 != null) {
return DSX(objSource, obj, parameters: [a1, a2, a3, a4, a5]);
} else if (a4 != null) {
return DSX(objSource, obj, parameters: [a1, a2, a3, a4]);
} else if (a3 != null) {
return DSX(objSource, obj, parameters: [a1, a2, a3]);
} else if (a2 != null) {
return DSX(objSource, obj, parameters: [a1, a2]);
} else if (a1 != null) {
return DSX(objSource, obj, parameters: [a1]);
}
return DSX(objSource, obj);
}