initialize method
Future<Result<void>>
initialize(
{ - required String apiKey,
- required String endpoint,
- required String featureTag,
- bool debugging = false,
- int logSendingIntervalMillis = 60000,
- int logSendingMaxBatchQueueCount = 50,
- int pollingEvaluationIntervalMillis = 600000,
})
Implementation
Future<Result<void>> initialize({
required String apiKey,
required String endpoint,
required String featureTag,
bool debugging = false,
int logSendingIntervalMillis = 60000,
int logSendingMaxBatchQueueCount = 50,
int pollingEvaluationIntervalMillis = 600000,
}) async {
return _resultGuard(
await _invokeMethod('initialize', argument: {
'apiKey': apiKey,
'endpoint': endpoint,
'featureTag': featureTag,
'debugging': debugging,
'logSendingIntervalMillis': logSendingIntervalMillis,
'logSendingMaxBatchQueueCount': logSendingMaxBatchQueueCount,
'pollingEvaluationIntervalMillis': pollingEvaluationIntervalMillis,
}),
);
}