@@ -367,31 +367,30 @@ List<Side> createColToAlign<T>(CellsMatrix matrix, Map<dynamic, Side>? align) {
367
367
}
368
368
369
369
/// Converts a set of cells defined by a two-dimensional list to a Markdown formatted ASCII table.
370
+ /// Returns a string with the table that is ready for printing.
370
371
///
371
- /// @param rows Source data for the table. The first of the lists will be the header, the
372
+ /// [ rows] is the source data for the table. The first of the lists will be the header, the
372
373
/// others - ordinary lines. The values can be [String] s, [num] s, [null] , or any objects. Either
373
374
/// way, they end up being converted to strings.
374
375
///
375
- /// @param align Specifies which way all cells in a particular column should be aligned. The keys
376
+ /// [ align] specifies which way all cells in a particular column should be aligned. The keys
376
377
/// of this [Map] can be of type [int] then they denote the index of the column, or of type
377
378
/// [String] - then they denote the name of the column.
378
379
///
379
- /// @param format Specifies how to convert each cell of a particular column to a row.
380
+ /// [ format] specifies how to convert each cell of a particular column to a row.
380
381
/// This conversion occurs after sorting, but before alignment. The keys of this [Map] can be
381
382
/// of type [int] then they denote the index of the column, or of type [String] - then they
382
383
/// denote the name of the column.
383
384
///
384
- /// @param sort Determines the sorting order. Sorting can take place in several columns at once.
385
+ /// [ sort] determines the sorting order. Sorting can take place in several columns at once.
385
386
/// Priority will be given to the ones at the beginning of the list.
386
387
///
387
- /// @param markdownAlign Determines whether to add the ':' characters to the delimiter under
388
+ /// [ markdownAlign] determines whether to add the ':' characters to the delimiter under
388
389
/// the header. These symbols tell services like GitHub which way to align the columns after
389
390
/// converting the table to HTML.
390
391
///
391
- /// @param outerBorder Determines whether to add vertical borders to the left and right sides
392
+ /// [ outerBorder] determines whether to add vertical borders to the left and right sides
392
393
/// of the table.
393
- ///
394
- /// @returns A string containing a converted ASCII table that is ready for printing.
395
394
String tabular (List <List <dynamic >> rows,
396
395
{Map <dynamic , Side >? align,
397
396
Map <dynamic , FormatCell >? format,
0 commit comments