Why is Position
's timestamp
property nullable?
#1145
Labels
P2
Important issues not at the top of the work list.
P3
Issues that we currently consider unimportant.
type: enhancement
New feature or request
Thanks for creating this great package!
I was wondering why the
Position
timestamp
property isDateTime?
instead ofDateTime
. I did a quick scan of thegetPositionStream
implementation for iOS and Android and it looks likeCLLocation.timestamp
andandroid.location.Location.getTime()
are the sources and should always return a value.I didn't dive into the other platform code because I'm only using iOS and Android. Can I can safely assume that
timestamp
will always be non-null on iOS and Android? Or are there scenarios where it will be null?The text was updated successfully, but these errors were encountered: