emitLocation method

void emitLocation(
  1. LocationSample sample, {
  2. bool durablePending = false,
})

Implementation

void emitLocation(LocationSample sample, {bool durablePending = false}) {
  _lastLocation = sample;
  if (durablePending) pending.add(sample);
  _locations.add(sample);
}