RC constructor
Implementation
RC({
Map<String, dynamic>? init,
Set<Loader>? loaders,
bool shouldWarn = true,
}) {
_storage[shouldWarnKeys] = shouldWarn;
if (init != null && init.isNotEmpty) {
for (final MapEntry(key: keys, value: value) in init.dot().entries) {
set(keys, value);
}
}
if (loaders != null && loaders.isNotEmpty) {
for (final loader in loaders) {
use(loader);
}
}
}