@override Future<bool> isSensorAvailable(int sensorType) async { return (await _method.invokeMethod<bool>( 'isSensorAvailable', {'sensorType': sensorType}, )) ?? false; }