ofRegion method
Returns the localized display name for a given region code.
The resulting name is formatted according to the options configured in the constructor.
Example:
import 'package:intl4x/display_names.dart';
void main() {
print(DisplayNames.ofRegion('DE')); // Prints 'Germany'
}
Implementation
String ofRegion(String regionCode) => _of(regionCode, _impl.ofRegion);