List<TableColumn> getNodeColumns(RemoteNode node)

Source

static List<TableColumn> getNodeColumns(RemoteNode node) {
  Object columns = node.getConfig(r'$columns');
  if (columns is! List && node.profile != null) {
    columns = node.profile.getConfig(r'$columns');
  }
  if (columns is List) {
    return TableColumn.parseColumns(columns);
  }
  return null;
}