WarehouseDTO.fromJson constructor

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

Implementation

WarehouseDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  name = json['name'];
  address =
      json['address'] != null ? AddressDTO.fromJson(json['address']) : null;
}