We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1658f0 commit 445ba75Copy full SHA for 445ba75
packages/firebase_remote_config/firebase_remote_config/lib/src/remote_config.dart
@@ -23,10 +23,9 @@ class RemoteConfig extends FirebasePluginPlatform with ChangeNotifier {
23
/// If called and no [_delegatePackingProperty] exists, it will first be
24
/// created and assigned before returning the delegate.
25
FirebaseRemoteConfigPlatform get _delegate {
26
- if (_delegatePackingProperty == null) {
27
- _delegatePackingProperty = FirebaseRemoteConfigPlatform.instanceFor(
28
- app: app, pluginConstants: pluginConstants);
29
- }
+ _delegatePackingProperty ??= FirebaseRemoteConfigPlatform.instanceFor(
+ app: app, pluginConstants: pluginConstants
+ );
30
return _delegatePackingProperty;
31
}
32
0 commit comments