outsideFacilAllInfo method

Future<List<OutsideFacility>> outsideFacilAllInfo()

Implementation

Future<List<OutsideFacility>> outsideFacilAllInfo() async {
  final jsonList = await repository.outsideFacilAll();

  List<OutsideFacility> outsideFacilList = [];

  for (Map<String, dynamic> json in jsonList) {
    outsideFacilList.add(OutsideFacility.fromJson(json));
  }
  return outsideFacilList;
}