Source
@DomName('PasswordCredential.PasswordCredential')
@DocsEditable()
factory PasswordCredential(String id, String password, [String name, String iconURL]) {
if (iconURL != null) {
return _blink.BlinkPasswordCredential.instance.constructorCallback_4_(id, password, name, iconURL);
}
if (name != null) {
return _blink.BlinkPasswordCredential.instance.constructorCallback_3_(id, password, name);
}
return _blink.BlinkPasswordCredential.instance.constructorCallback_2_(id, password);
}