locationSubscription property Null safety

Stream<Result<Location, LocationError>> locationSubscription

Subscribe to location changes.

Implementation

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