Writes the string representation of object.
object
Converts object to a string using object.toString().
object.toString()
Notice that calling sink.write(null) will will write the "null" string.
sink.write(null)
"null"
@override void write(Object? object) {}