write method Null safety

void write(
  1. dynamic message,
  2. {dynamic color}
)
override

Implementation

void write(message, {color}) {
  fragments.add(ColoredBufferFragment(message, color));
}