unadvertise method

void unadvertise()

Implementation

void unadvertise() {
  if (!isAdvertised) return;
  ros.send(Request(
    op: 'unadvertise_service',
    service: name,
  ));
  _advertiser = null;
}