[Feature request]: use null
in Position
class variables to differentiate (un)available values
#1287
Open
4 tasks done
Labels
P2
Important issues not at the top of the work list.
refactor
Issues marked with refactor should be considered when refactoring the plugin.
type: enhancement
New feature or request
Is there already an issue requesting this feature?
Please select affected platform(s)
Use case
According to the comments of
geolocator_platform_interface-4.2.2
, thealtitude
,altitudeAccuracy
,accuracy
,heading
,headingAccuracy
,speed
,speedAccuracy
variables may not be available, in which case the value will be 0.The problem is users cannot differentiate unavailable values from actual readings of 0's for those variables.
Proposal
Make all the above variables nullable, and use
null
as the value if the variable is unavailable. This is already implemented for the variablefloor
.Specific requirements or considerations
No response
Additional information or context
No response
The text was updated successfully, but these errors were encountered: