void write(
Object obj
)

Adds the contents of obj, converted to a string, to the buffer.

Source

/// Adds the contents of [obj], converted to a string, to the buffer.
external void write(Object obj);