EndpointClientLoginBannerOptions.fromMap constructor
EndpointClientLoginBannerOptions.fromMap(
- Map<String, dynamic> map
)
Implementation
factory EndpointClientLoginBannerOptions.fromMap(Map<String, dynamic> map) {
return EndpointClientLoginBannerOptions(
bannerText: (() { final guardedValue = map['bannerText']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
enabled: (() { final guardedValue = map['enabled']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
);
}