line method
Prints a line with an optional type (e.g., solid or dashed).
type: The type of line to print (optional).
Returns a String indicating the result or null if unsuccessful.
Implementation
Future<String?> line({String? type}) async {
return await SunmiPrinter.line(type: type);
}