mapToDataColumns method

List<DataColumn> mapToDataColumns(
  1. List<String> columnKeys
)

Implementation

List<DataColumn> mapToDataColumns(List<String> columnKeys) {
  if (columnKeys.isEmpty) {
    return [];
  } else {
    return columnKeys.map<DataColumn>(buildColumn).toList();
  }
}