update method
Implementation
Future<void> update() async {
final position = await getPosition();
if (position != null) {
_streamController.add(position);
}
}
Future<void> update() async {
final position = await getPosition();
if (position != null) {
_streamController.add(position);
}
}