ReportSubTypeModel.fromJson constructor
Implementation
factory ReportSubTypeModel.fromJson(Map<String, dynamic> json) {
ReportTypeModel? reportType = json["reportType"] != null
? ReportTypeModel.fromJson(json["reportType"])
: null;
return new ReportSubTypeModel(
id: json['id'],
reportType: reportType,
type: json['type'].toString(),
);
}