Authentication.fromMap constructor
Authentication.fromMap(
- Map<String, dynamic> map
)
Implementation
factory Authentication.fromMap(Map<String, dynamic> map) {
return Authentication(
providers: (() { final guardedValue = map['providers']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<AuthProvider>(guardedValue, (value) => AuthProvider.fromMap((value as Map).cast<String, dynamic>()))); })(),
rules: (() { final guardedValue = map['rules']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<AuthenticationRule>(guardedValue, (value) => AuthenticationRule.fromMap((value as Map).cast<String, dynamic>()))); })(),
);
}