DefaultUserPropertiesHandler.createMockHandler constructor

  1. @visibleForTesting
DefaultUserPropertiesHandler.createMockHandler({
  1. required DeviceInfoService device,
  2. required AppInfoService app,
  3. required GeoInfoService geo,
})

Implementation

@visibleForTesting
factory DefaultUserPropertiesHandler.createMockHandler({
  required DeviceInfoService device,
  required AppInfoService app,
  required GeoInfoService geo,
}) {
  final handler = DefaultUserPropertiesHandler._internal();
  handler._deviceInfoService = device;
  handler._appInfoService = app;
  handler._geoInfoService = geo;
  return handler;
}