UserProfileUserSettingsKernelGatewayAppSettings.fromMap constructor
UserProfileUserSettingsKernelGatewayAppSettings.fromMap(
- Map<String, dynamic> map
)
Implementation
factory UserProfileUserSettingsKernelGatewayAppSettings.fromMap(Map<String, dynamic> map) {
return UserProfileUserSettingsKernelGatewayAppSettings(
customImages: (() { final guardedValue = map['customImages']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<UserProfileUserSettingsKernelGatewayAppSettingsCustomImage>(guardedValue, (value) => UserProfileUserSettingsKernelGatewayAppSettingsCustomImage.fromMap((value as Map).cast<String, dynamic>()))); })(),
defaultResourceSpec: (() { final guardedValue = map['defaultResourceSpec']; if (guardedValue == null) return null; return pulumi.Input.fromValue(UserProfileUserSettingsKernelGatewayAppSettingsDefaultResourceSpec.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
lifecycleConfigArns: (() { final guardedValue = map['lifecycleConfigArns']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
);
}