asMap property

Map<String, dynamic> asMap

Gets the settings as a map.

Implementation

Map<String, dynamic> get asMap {
  return {
    'persistenceEnabled': persistenceEnabled,
    'host': host,
    'sslEnabled': sslEnabled,
    'cacheSizeBytes': cacheSizeBytes,
    'webExperimentalForceLongPolling': webExperimentalForceLongPolling,
    'webExperimentalAutoDetectLongPolling': webExperimentalAutoDetectLongPolling,
    'webExperimentalLongPollingOptions': webExperimentalLongPollingOptions?.asMap,
    'ignoreUndefinedProperties': ignoreUndefinedProperties,
  };
}