peek property

  1. @override
ILatLng get peek
override

Implementation

@override
ILatLng get peek {
  if (_locationQueue.isNotEmpty) {
    return _locationQueue.first;
  }

  return ILatLng.empty();
}