Stock.fromJson constructor

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

Implementation

Stock.fromJson(Map<String, dynamic> json) {
  message = json['message'];
  status = json['status'];
  data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  linkId = json['linkId'];
  errors = json['errors'];
  errorLevel = json['errorLevel'];
}