String compose(Term? term) { if (term == null) { return '1'; } final StringBuffer buffer = StringBuffer(); composeTerm(buffer, term); return buffer.toString(); }