printRow method

Future<String?> printRow({
  1. required List<SunmiColumn> cols,
})

Prints a row of columns with specified text, width, and styles.

cols: A list of SunmiColumn objects to print.

Returns a String indicating the result or null if unsuccessful.

Implementation

Future<String?> printRow({required List<SunmiColumn> cols}) async {
  return await SunmiPrinter.printRow(cols: cols);
}