addNamespace method
Registers the namespace
to the store for the given locale
.
locale
, namespace
, and data
cannot be null.
Implementation
void addNamespace(
Locale locale,
String namespace,
Map<String, dynamic> data,
) {
_data[locale] ??= {};
_data[locale]?[namespace] = data;
}