Skip to content

Commit eeaab8a

Browse files
committed
doc(remote_config): being explicit about value types
1 parent 09f7cae commit eeaab8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/firebase_remote_config/firebase_remote_config/lib/src/remote_config.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class RemoteConfig extends FirebasePluginPlatform with ChangeNotifier {
132132
}
133133

134134
/// Sets the default parameter values for the current instance.
135+
/// Only booleans, strings and numbers are supported as values of the map
135136
Future<void> setDefaults(Map<String, dynamic> defaultParameters) {
136137
defaultParameters.values.forEach(_checkIsSupportedType);
137138
return _delegate.setDefaults(defaultParameters);

0 commit comments

Comments
 (0)