buildUnknown method

  1. @override
Country buildUnknown(
  1. String name,
  2. String key
)
override

Implementation

@override
Country buildUnknown(String name, String key) {
  if (key.length > 2) {
    // Support for UNHCR or other NGO
    return Country(key, "", true, "", "");
  }
  return Country(name, "", false, "", "");
}