asJson method

String asJson()

Returns a string representation of the IP block list

Implementation

String asJson() {
  return jsonEncode(blockedIps.toList());
}