InstallationList.fromMap constructor

InstallationList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

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