blockIp method

void blockIp(
  1. String ip
)

Blocks an IP address

Implementation

void blockIp(String ip) {
  blockedIps.add(ip);
}