Department.fromJson constructor

Department.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Department.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  departmentName = json['departmentName'];
  description = json['description'];
}