printFields method

String printFields({
  1. List<NUIDBField> newFields,
})

Implementation

String printFields({List<NUIDBField> newFields}){
  String fieldsS = "";
  List<NUIDBField> targetFields = newFields != null ? newFields : fields();
  for(NUIDBField field in targetFields){
    if(fieldsS.isEmpty){
      fieldsS = fieldsS + field.name;
    }
    else{
      fieldsS = fieldsS + ", " + field.name;
    }
  }
  return fieldsS;
}