core.Map<core.String, core.dynamic> toJson() => { if (redirectUri != null) 'redirectUri': redirectUri!, };