Print a line with an optional type (e.g., dashed, solid).
Future<String?> line(String? type) { throw UnimplementedError('line() has not been implemented.'); }