speed property

Future<double> speed

Implementation

Future<double> get speed {
  return platform(
    android: (pool) => _androidModel.speed,
    ios: (pool) async {
      final location = await _iosModel.get_location();
      return location.speed;
    },
  );
}