Employee.fromJson constructor
A necessary factory constructor for creating a new User instance
from a map. Pass the map to the generated _$EmployeeFromJson()
constructor.
The constructor is named after the source class, in this case, User.
Implementation
factory Employee.fromJson(Map<String, dynamic> json) =>
_$EmployeeFromJson(json);