locationSubscription property

Stream<Result<Location, LocationError>> get locationSubscription

Subscribe to location changes.

Implementation

static Stream<Result<Location, LocationError>> get locationSubscription {
  return _locationChannel.receiveBroadcastStream().map((event) {
    return deserializeLocationResult(event);
  });
}