InstallationList.fromMap constructor
Implementation
factory InstallationList.fromMap(Map<String, dynamic> map) {
return InstallationList(
total: map['total'],
installations: List<Installation>.from(
map['installations'].map((i) => Installation.fromMap(i))),
);
}