Map<String, String> toMap() { return { "id_token_hint": idToken, if (postLogoutRedirectUrl != null) "post_logout_redirect_url": postLogoutRedirectUrl!, if (state != null) "state": state!, }; }