LocationFactory typedef

  1. @visibleForTesting
LocationFactory = Location Function()

Type of function that will create a location. Visible for testing so that we can mock the Location information being returned

Implementation

@visibleForTesting
typedef Location LocationFactory();