fetchBuildings method

Future<List<Building>> fetchBuildings()

Implementation

Future<List<Building>> fetchBuildings() async {
  List response = await methodChannel.invokeMethod("fetchBuildings");
  return createList<Building>(response, createBuilding);
}