CustomLocationDataSource constructor
- FutureOr<
LocationProvider> generateLocationProvider()
Constructs a CustomLocationDataSource.
The generateLocationProvider
parameter is a function that is called when
the datasource is started and returns a LocationProvider.