encode static method

Map<String, dynamic> encode(
  1. EntitySubscriptionConfiguration value
)

Implementation

static Map<String, dynamic> encode(EntitySubscriptionConfiguration value) {
	Map<String, dynamic> entityAsMap = {
		"channelBufferCapacity" : value.channelBufferCapacity,
		"onBufferFull" : EntitySubscriptionConfigurationFullBufferBehaviour.encode(value.onBufferFull),
		"reconnectionDelay" : value.reconnectionDelay.inMilliseconds,
		"retryDelayExponentFactor" : value.retryDelayExponentFactor,
		"connectionMaxRetries" : value.connectionMaxRetries
	};
	return entityAsMap;
}