Add function tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
abstract class ConfigurationProvider {
|
||||
bool containsKey(String key);
|
||||
String? getOrNull(String key, {String? defaultValue});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,6 @@ class SystemConfig {
|
||||
}
|
||||
|
||||
static String? getOrNull(String key, {String? defaultValue}) {
|
||||
return getProvider().getOrNull(key);
|
||||
return getProvider().getOrNull(key, defaultValue: defaultValue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user