toJson method
Implementation
Map<String, dynamic> toJson() {
final authenticationType = this.authenticationType;
final stackName = this.stackName;
final userName = this.userName;
final sendEmailNotification = this.sendEmailNotification;
return {
'AuthenticationType': authenticationType.toValue(),
'StackName': stackName,
'UserName': userName,
if (sendEmailNotification != null)
'SendEmailNotification': sendEmailNotification,
};
}