SetController(Requester requester, String path, Object value, [ int maxPermission = Permission.CONFIG ])

Source

SetController(this.requester, this.path, this.value,
    [int maxPermission = Permission.CONFIG]) {
  var reqMap = <String, dynamic>{
    'method': 'set',
    'path': path,
    'value': value
  };

  if (maxPermission != Permission.CONFIG) {
    reqMap['permit'] = Permission.names[maxPermission];
  }

  _request = requester._sendRequest(reqMap, this);
}