VisitsModel.fromJson constructor
Implementation
VisitsModel.fromJson(Map<String, dynamic> json) {
visit = json['visit'] != null ? new Visit.fromJson(json['visit']) : null;
survey =
json['survey'] != null ? new Survey.fromJson(json['survey']) : null;
}