fix assert error message

This commit is contained in:
Salvatore Giordano
2021-05-21 10:50:35 +02:00
parent 32cb1e7700
commit a543cf325a
@@ -517,7 +517,7 @@ class Channel {
throw ArgumentError('Invalid timeout or Expiration date');
}
return true;
}(), 'Check for invalid token or expiration date');
}(), 'Check whether time out is valid');
DateTime? pinExpires;
if (timeoutOrExpirationDate is DateTime) {