getSensorInfo method
Gets information about available sensors on the device.
Returns SensorInfo containing a list of all available sensors and their capabilities.
Implementation
@override
Future<SensorInfo> getSensorInfo() async {
final sensors = <SensorType>[
SensorType.accelerometer,
SensorType.gyroscope,
];
return SensorInfo(availableSensors: sensors);
}