FakeLocations constructor

FakeLocations({
  1. Future<ListLocationsResponse> listLocations(
    1. ListLocationsRequest request
    )?,
  2. Future<Location> getLocation(
    1. GetLocationRequest request
    )?,
})

Implementation

FakeLocations({
  Future<ListLocationsResponse> Function(ListLocationsRequest request)?
  listLocations,
  Future<Location> Function(GetLocationRequest request)? getLocation,
}) : _listLocations = listLocations,
     _getLocation = getLocation;