line static method

Future<String?> line({
  1. String? type,
})

Prints a line using an optional line type.

type: The type of line to print (e.g., solid or dashed).

Returns a String indicating the result of the print operation, or null.

Implementation

static Future<String?> line({String? type}) async {
  return await SunmiPrinterPlusPlatform.instance.line(type);
}