entrance property

Future<BusEntrance> entrance

Implementation

Future<BusEntrance> get entrance {
  return platform(
    android: (pool) async =>
        BusEntrance.android(await _androidModel.getEntrance()),
    ios: (pool) async => BusEntrance.ios(
      await _iosModel.get_enterLocation(),
      await _iosModel.get_enterName(),
    ),
  );
}