fetch method
Fetch an experiment or feature flag by user info
Implementation
Future<void> fetch(
{String? userId,
String? deviceId,
Map<String, dynamic>? userProperties}) async {
final input = ExperimentFetchInput(
userId: userId, deviceId: deviceId, userProperties: userProperties);
await _httpClient.get(input, _config?.timeout);
_log(
'[Experiment] Fetched ${_httpClient.fetchResult.length} experiment(s) for this user!');
_storeVariants();
}