PgrAdditionalDetails.fromJson constructor

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

Implementation

factory PgrAdditionalDetails.fromJson(Map<String, dynamic> json) {
  return PgrAdditionalDetails(
    supervisorName: json['supervisorName'] ?? "",
    supervisorContactNumber: json['supervisorContactNumber'] ?? "",
    otherComplaintDescription: json['otherComplaintDescription'] ?? "",
  );
}