walkPathList property

Future<List<BusPath>> walkPathList

Implementation

Future<List<BusPath>> get walkPathList {
  return platform(
    android: (pool) async {
      return (await _androidModel.getPaths())
          .map((it) => BusPath.android(it))
          .toList();
    },
    ios: (pool) async {
      return (await _iosModel.get_transits())
          .map((it) => BusPath.ios(it))
          .toList();
    },
  );
}