revoke method

void revoke({
  1. String? deviceId,
})

Closes every connection of deviceId (every device when null) with 4012 and marks their sessions revoked (04 8.5).

Implementation

void revoke({String? deviceId}) => _gateway.revoke(deviceId);