Visit.fromJson constructor

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

Implementation

Visit.fromJson(Map<String, dynamic> json) {
  completed = json['completed'];
  total = json['total'];
}