toCodecValue method Null safety

Map<String, dynamic> toCodecValue(
  1. String wrapperVersion
)

Implementation

Map<String, dynamic> toCodecValue(String wrapperVersion) {
  final Map<String, dynamic> result = <String, dynamic>{};
  result['mobileKey'] = mobileKey;
  result['applicationId'] = applicationId;
  result['applicationName'] = applicationName;
  result['applicationVersion'] = applicationVersion;
  result['applicationVersionName'] = applicationVersionName;
  result['pollUri'] = pollUri;
  result['eventsUri'] = eventsUri;
  result['streamUri'] = streamUri;
  result['eventsCapacity'] = eventsCapacity;
  result['eventsFlushIntervalMillis'] = eventsFlushIntervalMillis;
  result['connectionTimeoutMillis'] = connectionTimeoutMillis;
  result['pollingIntervalMillis'] = pollingIntervalMillis;
  result['backgroundPollingIntervalMillis'] = backgroundPollingIntervalMillis;
  result['diagnosticRecordingIntervalMillis'] = diagnosticRecordingIntervalMillis;
  result['maxCachedContexts'] = maxCachedContexts;
  result['stream'] = stream;
  result['offline'] = offline;
  result['disableBackgroundUpdating'] = disableBackgroundUpdating;
  result['useReport'] = useReport;
  result['evaluationReasons'] = evaluationReasons;
  result['diagnosticOptOut'] = diagnosticOptOut;
  result['autoEnvAttributes'] = autoEnvAttributes;
  result['allAttributesPrivate'] = allAttributesPrivate;
  result['privateAttributes'] = privateAttributes;
  result['wrapperName'] = 'FlutterClientSdk';
  result['wrapperVersion'] = wrapperVersion;
  return result;
}