write method Null safety
- Object? object
See IOSink.write from dart:io
.
Implementation
void write(Object? object) {
var string = object.toString();
if (string.isEmpty) return;
add(encoding.encode(string));
}
See IOSink.write from dart:io
.
void write(Object? object) {
var string = object.toString();
if (string.isEmpty) return;
add(encoding.encode(string));
}