Map<String, Object?> toJson() => { 'redirectUri': redirectUri, 'state': state, 'codeChallenge': codeChallenge, };