setDebug abstract method Null safety

void setDebug(
  1. bool debug
)

Sets debug (on/off).