OrderCreationModel.fromJson constructor

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

Implementation

OrderCreationModel.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'];
  errors = json['errors'];
}