Offer.fromJson constructor
Implementation
factory Offer.fromJson(Map<String, dynamic> json) => Offer(
id: json["_id"] == null ? null : json["_id"],
title: json["title"] == null ? null : json["title"],
benefits: json["benefits"] == null ? null : json["benefits"],
iconUrl: json["iconUrl"] == null ? null : json["iconUrl"],
);