block method

Future<void> block(
  1. String mac, {
  2. String? siteId,
})

Block a mac.

Throw ApiException if not successful

Implementation

Future<void> block(String mac, {String? siteId}) async {
  await _commandWithMac(Endpoints.staMgr, Commands.block, mac,
      siteId: siteId);
}