setStatusLevel method

void setStatusLevel({
  1. String? level,
  2. int? id,
})

Sends a set_level request to the server. level can be one of {none, error, warning, info}, and id is the optional operation ID to change status level on

Implementation

void setStatusLevel({String ?level, int ?id}) {
  send({
    'op': 'set_level',
    'level': level,
    'id': id,
  });
}