Print a line with an optional type (e.g., dashed, solid).
@override Future<String?> line(String? type) async { return await methodChannel .invokeMethod<String>('printLine', {'data': type}); }