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