Future<bool> hasMagneticSensor() { throw UnimplementedError('hasMagneticSensor() has not been implemented.'); }