getArgsList static method
Implementation
static List<String> getArgsList(DartObject e, String className) {
var list = e.getField('argsList')!.toListValue()!;
if (list.length == 0) {
return [
'BuildContext p0',
'\$$className p1',
];
}
int index = 0;
return list.map((e) {
final p = ' p$index';
index++;
return e.toStringValue()! + p;
}).toList();
}