LocationState constructor

const LocationState({
  1. bool followingUser = false,
  2. LatLng? lastKnownLocation,
  3. dynamic myLocationHistory,
})

Implementation

const LocationState(
    {this.followingUser = false, this.lastKnownLocation, myLocationHistory})
    : myLocationHistory = myLocationHistory ?? const [];