register static method
register icon mapping with namespace
Implementation
static register(String namespace, Map<String, IconData> mapping) {
if (_registry.containsKey(namespace)) {
throw FlutterError(
"conflict error: the mapping with namespace $namespace is already registered");
} else {
_registry[namespace] = mapping;
}
}