void write(
Object obj
)

Converts obj to a String by invoking Object.toString and adds the result to this.

Source

/**
 * Converts [obj] to a String by invoking [Object.toString] and
 * adds the result to `this`.
 */
void write(Object obj);