RevokeCallback typedef
RevokeCallback =
String? Function(DioError error)
Function for Taking the the an action when the token is revoked
from this function we can return meaningful message
Implementation
typedef RevokeCallback = String? Function(DioError error);