toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final appValidationStrategy = this.appValidationStrategy;
  final name = this.name;
  final ssmValidationParameters = this.ssmValidationParameters;
  final validationId = this.validationId;
  return {
    if (appValidationStrategy != null)
      'appValidationStrategy': appValidationStrategy.toValue(),
    if (name != null) 'name': name,
    if (ssmValidationParameters != null)
      'ssmValidationParameters': ssmValidationParameters,
    if (validationId != null) 'validationId': validationId,
  };
}