build method
Implementation
AnalyticsConfig build() {
if (accountId.isEmpty) throw StateError("AccountId must be provided");
if (devToken.isEmpty) throw StateError("DevToken must be provided");
if (cryptKey.isEmpty) throw StateError("CryptKey must be provided");
return AnalyticsConfig(
accountId: accountId,
devToken: devToken,
cryptKey: cryptKey,
minReportInterval: minReportInterval,
maxReportNumEachTime: maxReportNumEachTime,
debugMode: debugMode,
);
}