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