Mastering German is not one of the requirements listed by the immigration office. However, it does improve your chances to find opportunities in Germany, in more fields.