ChannelAssociationState.fromMap constructor

ChannelAssociationState.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ChannelAssociationState.fromMap(Map<String, dynamic> map) {
  return ChannelAssociationState(
    arn: (() { final guardedValue = map['arn']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    notificationConfigurationArn: (() { final guardedValue = map['notificationConfigurationArn']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}