GetAllZainboxesResponse.fromJson constructor

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

Implementation

GetAllZainboxesResponse.fromJson(Map<String, dynamic> json) {
  code = json['code'];
  if (json['data'] != null) {
    data = <Data>[];
    json['data'].forEach((v) => data!.add(Data.fromJson(v)));
  }
  description = json['description'];
  status = json['status'];
}