ProductModel.fromJson constructor

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

Implementation

ProductModel.fromJson(Map<String, dynamic> json) {
  status = json['status'];
  message = json['message'];
  timeStamp = json['timeStamp'];
  data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  requestId = json['requestId'];
  correlationId = json['correlationId'];
  code = json['code'];
}