ReportTypeModel.fromJson constructor

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

Implementation

factory ReportTypeModel.fromJson(Map<String, dynamic> json) {
  return new ReportTypeModel(
    id: json['id'],
    type: json['type'].toString(),
  );
}