'Print keys were values is null in map<String,dynamic> Employee in dart

This is the code json code from which I want to get all the keys were value is null

{
   "service": "register",
   "employee": {
       "employeeId": "bcvfevse",
       "officeId": null,
       "email": null,
       "name" : "Chetan Patil",
       "position" : "Flutter Developer",
       "number" : null
   },
   "device": {
       "type": "android",
       "uniqueId": "9774d56d682e549c"
   }
}

I Want something like this ["number","email","officeId"] in "DART"



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source