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