isValidLocaleComponentAsync static method

bool isValidLocaleComponentAsync(
  1. UIComponentAsync? asyncContent, [
  2. Map<String, dynamic>? properties
])

Implementation

static bool isValidLocaleComponentAsync(UIComponentAsync? asyncContent,
    [Map<String, dynamic>? properties]) {
  if (asyncContent == null || asyncContent._asyncContent == null) {
    return false;
  }
  return UIAsyncContent.isValidLocale(asyncContent._asyncContent);
}