Milestones.fromJson constructor

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

Implementation

Milestones.fromJson(Map<String, dynamic> json) {
  image = json['image'];
  name = json['name'];
  description = json['description'];
  milestoneQuantity = json['milestone_quantity'];
  sId = json['_id'];
}