Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ class RemoteConfig
/// defaultsMap['x'] = 1; // remoteConfig.defaultConfig will not be updated.
/// remoteConfig.defaultConfig['x'] = 1; // Runtime error: attempt to modify an unmodifiable map.
/// ```
Map<String, dynamic> get defaultConfig => Map.unmodifiable(
Map<String, dynamic> get defaultConfig =>
// ignore: deprecated_member_use, Map.unmodifiableOf requires Dart 3.13,
// above this package's SDK floor.
Map.unmodifiable(
jsObject.defaultConfig.dartify()! as Map<String, dynamic>,
);

Expand Down
Loading