Items.fromJson constructor
Implementation
Items.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
message = json['message'];
store = json['store'] != null ? StoreDTO.fromJson(json['store']) : null;
user = json['user'] != null ? UserDTO.fromJson(json['user']) : null;
if (json['files'] != null) {
files = <FileDTO>[];
json['files'].forEach((v) {
files!.add(FileDTO.fromJson(v));
});
}
}