Equipment.fromMap constructor

Equipment.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Equipment.fromMap(Map<String, dynamic> json) => Equipment(
  id: json["id"],
  name: json["name"],
  photo: json["photo"],
  width: json["width"],
  height: json["height"],
  length: json["length"],
  maxWeight: json["max_weight"],
  maxRange: json["max_range"],
  maxVolume: json["max_volume"],
);