getLocale method

XmlLocale? getLocale(
  1. String argName
)

Implementation

XmlLocale? getLocale(String argName) {
  final locale = this[argName] as String?;
  return locale != null && locale.isNotEmpty ? locale.asXmlLocale() : null;
}