Skip to content

Commit 0f46b7f

Browse files
committed
Corrected comments and name
1 parent 1b224b8 commit 0f46b7f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/optimizely_flutter_sdk.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,28 +90,28 @@ class OptimizelyFlutterSdk {
9090
return await _addLogEventNotificationListener(callback);
9191
}
9292

93-
/// Allows user to listen to supported notifications.
93+
/// Allows user to listen to supported Decision notifications.
9494
Future<CancelListening> _addDecisionNotificationListener(
9595
DecisionNotificationCallback callback) async {
9696
return await OptimizelyClientWrapper.addDecisionNotificationListener(
9797
_sdkKey, callback);
9898
}
9999

100-
/// Allows user to listen to supported notifications.
100+
/// Allows user to listen to supported Track notifications.
101101
Future<CancelListening> _addTrackNotificationListener(
102102
TrackNotificationCallback callback) async {
103103
return await OptimizelyClientWrapper.addTrackNotificationListener(
104104
_sdkKey, callback);
105105
}
106106

107-
/// Allows user to listen to supported notifications.
107+
/// Allows user to listen to supported LogEvent notifications.
108108
Future<CancelListening> _addLogEventNotificationListener(
109109
LogEventNotificationCallback callback) async {
110110
return await OptimizelyClientWrapper.addLogEventNotificationListener(
111111
_sdkKey, callback);
112112
}
113113

114-
/// Allows user to listen to supported notifications.
114+
/// Allows user to listen to supported Project Config Update notifications.
115115
Future<CancelListening> _addConfigUpdateNotificationListener(
116116
MultiUseCallback callback) async {
117117
return await OptimizelyClientWrapper.addConfigUpdateNotificationListener(

lib/src/utils/constants.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Constants {
6565
static const String decisionCallBackListener = "decisionCallbackListener";
6666
static const String logEventCallbackListener = "logEventCallbackListener";
6767
static const String configUpdateCallBackListener =
68-
"configUpdateCallBackListener";
68+
"projectConfigUpdateCallBackListener";
6969

7070
// Response keys
7171
static const String responseSuccess = "success";

0 commit comments

Comments
 (0)