revoked method

LicenseStatus revoked(
  1. DateTime date,
  2. int devicesCount

If the license has been revoked, the user message should display the number of devices which registered to the server. This count can be calculated from the number of "register" events in the status document. If no event is logged in the status document, no such message should appear (certainly not "The license was registered by 0 devices").


LicenseStatus revoked(DateTime date, int devicesCount) =>
        quantity: devicesCount, args: [date, devicesCount]);