toListString function

List<String>? toListString(
  1. List<DartObject>? objList
)

Implementation

List<String>? toListString(
  List<DartObject>? objList,
) {
  if (objList == null) {
    return null;
  }
  final stringList = <String>[];
  // print('------RECOGNIZING FIELDS:');
  for (var obj in objList) {
    stringList.add(obj.toStringValue()!);
  }
  return stringList;
}