SkyAnalytics constructor
SkyAnalytics({})
Factory constructor to provide the singleton instance.
Implementation
factory SkyAnalytics({
required String sourceKey,
required String host,
required bool enabled,
showLogs = false,
}) {
return _instance ??= SkyAnalytics._internal(
sourceKey: sourceKey,
host: host,
isEnable: enabled,
showLogs: showLogs,
);
}