isCompassAvailable method

Future<bool> isCompassAvailable()

Checks if the sensors needed for the compass to work are available.

Returns true if the sensors are available or false otherwise.

Implementation

Future<bool> isCompassAvailable() => _Compass.isCompassAvailable;