authorizationStateClosing property

AuthorizationStateClosing? authorizationStateClosing

TDLib is closing, all subsequent queries will be answered with the error 500. Note that closing TDLib can take a while. All resources will be freed only after authorizationStateClosed has been received

Implementation

AuthorizationStateClosing? get authorizationStateClosing {
  if (this is AuthorizationStateClosing) {
    return this as AuthorizationStateClosing;
  }
  return null;
}