write method Null safety

void write (
  1. Object? obj
)

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

Implementation

void write(Object? obj);