ExperimentService constructor
ExperimentService({})
Implementation
factory ExperimentService({
required String token,
required bool isExperimentEnabled,
Future<String?> Function()? getUniqueId,
Future<String?> Function()? getUserId,
Function? experimentFetchedCb,
int? experimentRefetchIntervalMin,
}) {
_instance._init(
token: token,
isExperimentEnabled: isExperimentEnabled,
getUniqueId: getUniqueId,
getUserId: getUserId,
experimentFetchedCb: experimentFetchedCb,
experimentRefetchIntervalMin: experimentRefetchIntervalMin,
);
return _instance;
}