forkByLocale method
- DataProvider other
Same as fork_by_key
but forks by locale instead of key.
See the Rust documentation for IdentifierNotFoundPredicate
for more information.
Throws DataError on failure.
Implementation
void forkByLocale(DataProvider other) {
final result = _icu4x_DataProvider_fork_by_locale_mv1(_ffi, other._ffi);
if (!result.isOk) {
throw DataError.values[result.union.err];
}
}