Determines whether magnetometer is available.
Future<bool> isMagnetometerAvailable() => isSensorAvailable(SensorType.magnetometer);