@@ -69,7 +69,7 @@ class OptimizelyClientWrapper {
6969 Constants .eventMaxQueueSize: eventOptions.maxQueueSize,
7070 };
7171
72- // clearing notification listeners, if they are mapped to the same sdkKey.
72+ // clearing notification listeners, if they are mapped to the same sdkKey.
7373 activateCallbacksById.remove (sdkKey);
7474 decisionCallbacksById.remove (sdkKey);
7575 trackCallbacksById.remove (sdkKey);
@@ -162,11 +162,9 @@ class OptimizelyClientWrapper {
162162 }
163163
164164 /// Remove notification listener by notification id.
165- static Future <BaseResponse > removeNotificationListener (String sdkKey, int id) async {
166- Map <String , dynamic > request = {
167- Constants .sdkKey: sdkKey,
168- Constants .id: id
169- };
165+ static Future <BaseResponse > removeNotificationListener (
166+ String sdkKey, int id) async {
167+ Map <String , dynamic > request = {Constants .sdkKey: sdkKey, Constants .id: id};
170168
171169 activateCallbacksById[sdkKey]? .remove (id);
172170 decisionCallbacksById[sdkKey]? .remove (id);
@@ -180,7 +178,8 @@ class OptimizelyClientWrapper {
180178 }
181179
182180 /// Remove notification listeners by notification type.
183- static Future <BaseResponse > clearNotificationListeners (String sdkKey, ListenerType listenerType) async {
181+ static Future <BaseResponse > clearNotificationListeners (
182+ String sdkKey, ListenerType listenerType) async {
184183 var callbackIds = _clearAllCallbacks (sdkKey, listenerType);
185184 Map <String , dynamic > request = {
186185 Constants .sdkKey: sdkKey,
@@ -193,7 +192,8 @@ class OptimizelyClientWrapper {
193192 }
194193
195194 /// Removes all notification listeners.
196- static Future <BaseResponse > clearAllNotificationListeners (String sdkKey) async {
195+ static Future <BaseResponse > clearAllNotificationListeners (
196+ String sdkKey) async {
197197 var callbackIds = _clearAllCallbacks (sdkKey);
198198 Map <String , dynamic > request = {
199199 Constants .sdkKey: sdkKey,
0 commit comments