list static method
Implementation
static Tuple2<String?, String?> list(
SerField ser, [
bool nullable = false,
]) {
var s = ser.ser;
if (s != null) {
s = "$ph${nullable ? '?' : ''}.map((e) { return ${s.replaceAll(ph, "e")}; }).toList(growable: false)";
}
var d = ser.deser;
if (d != null) {
d = "$ph${nullable ? '?' : ''}.map<${ser.type.nullable(ser.nullable)}>((e) { return ${d.replaceAll(ph, "e")}; }).toList(growable: false)";
}
return Tuple2(s, d);
}