Das Checkbox -Objekt von TypenScript ist möglicherweise null
this.form.get('username')!.value; // notice !
Mohamed Sami khiari
this.form.get('username')!.value; // notice !