Offers.fromJson constructor

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

Implementation

Offers.fromJson(Map<String, dynamic> json) {
  sId = json['_id'];
  title = json['title'];
  benefits = json['benefits'];
  iconUrl = json['iconUrl'];
}