configure static method
Implementation
static Future<void> configure({
bool debugMode = false,
required Future<void> Function({
required String name,
Map<String, Object>? parameters,
}) logScreenEventFunction,
required Future<void> Function({
required String name,
Map<String, Object>? parameters,
}) logButtonClickEvent,
}) async {
try {
debug = debugMode;
logScreenEvent = logScreenEventFunction;
logButtonEvent = logButtonClickEvent;
debugPrint('Success initialize sdk');
} catch (e) {
debugPrint('Erro ao logar evento de inicialização: $e');
}
}