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