attachLocation method

  1. @internal
void attachLocation(
  1. int? start,
  2. int? stop
)
inherited

Internal helper to attach the location to the event, do not call directly.

Implementation

@internal
void attachLocation(int? start, int? stop) {
  assert(_start == null && _stop == null, 'Location is already initialized.');
  _start = start;
  _stop = stop;
}