fetchBuildings method

Future<List<Building>> fetchBuildings()

Downloads all the buildings for the current user.

Implementation

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