Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit aba8be6

Browse files
committed
format
1 parent 41961f7 commit aba8be6

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

lib/optimizely_dart.dart

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,11 @@ class OptimizelyPlugin {
2727
}
2828

2929
Future<void> setUser(
30-
userID,
31-
Map<String, dynamic> attributes,
32-
) async {
33-
await _channel.invokeMethod('setUser', <String, dynamic>{
34-
'user_id': userID,
35-
'attributes': attributes
36-
});
30+
userID,
31+
Map<String, dynamic> attributes,
32+
) async {
33+
await _channel.invokeMethod('setUser',
34+
<String, dynamic>{'user_id': userID, 'attributes': attributes});
3735
}
3836

3937
Future<bool?> isFeatureEnabled(
@@ -73,15 +71,15 @@ class OptimizelyPlugin {
7371

7472
Future<Map<String, dynamic>> getAllEnabledFeatures() async {
7573
final enabledFeatures =
76-
await _channel.invokeMethod('getAllEnabledFeatures');
74+
await _channel.invokeMethod('getAllEnabledFeatures');
7775
return Map<String, dynamic>.from(enabledFeatures);
7876
}
7977

8078
Future<String?> activateGetVariation(
81-
String experimentKey,
82-
) async {
79+
String experimentKey,
80+
) async {
8381
final variation =
84-
await _channel.invokeMethod('getAllFeatureVariables', <String, dynamic>{
82+
await _channel.invokeMethod('getAllFeatureVariables', <String, dynamic>{
8583
'feature_key': experimentKey,
8684
});
8785
return variation;

0 commit comments

Comments
 (0)