toJson method

Map<String, dynamic> toJson()

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,
  };
}