fromString static method
Implementation
static FakerXLocale fromString(String locale) {
final splits = locale.split('_');
return FakerXLocale(splits[0], splits.length > 1 ? splits[1] : '');
}
static FakerXLocale fromString(String locale) {
final splits = locale.split('_');
return FakerXLocale(splits[0], splits.length > 1 ? splits[1] : '');
}