CouponDetails.fromJson constructor

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

Implementation

CouponDetails.fromJson(Map<String, dynamic> json) {
  newUsersOnly = json['newUsersOnly'];
  code = json['code'];
}