Map<String, dynamic> toJson() { return { 'redirectUri': redirectUri, 'state': state, 'providerUserIdentifier': providerUserIdentifier, }; }