CustomerListResponse.fromJson constructor
CustomerListResponse.fromJson(
- dynamic json
Implementation
CustomerListResponse.fromJson(dynamic json) {
status = json['status'];
message = json['message'];
if (json['data'] != null) {
data = [];
json['data'].forEach((v) {
data?.add(Customer.fromJson(v));
});
}
}