Das Checkbox -Objekt von TypenScript ist möglicherweise null

this.form.get('username')!.value; // notice !
Mohamed Sami khiari