fromJson static method

dynamic fromJson(
  1. Map json
)

Implementation

static fromJson(Map<dynamic, dynamic> json) {
  NetmeraCouponDetail couponDetail = new NetmeraCouponDetail();
  couponDetail._couponId = json['couponId'];
  couponDetail._name = json['name'];
  couponDetail._code = json['code'];
  couponDetail._assignDate = json['assignDate'].toString();
  couponDetail._expireDate = json['expireDate'].toString();

  return couponDetail;
}