AppValidationConfiguration.fromJson constructor

AppValidationConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AppValidationConfiguration.fromJson(Map<String, dynamic> json) {
  return AppValidationConfiguration(
    appValidationStrategy:
        (json['appValidationStrategy'] as String?)?.toAppValidationStrategy(),
    name: json['name'] as String?,
    ssmValidationParameters: json['ssmValidationParameters'] != null
        ? SSMValidationParameters.fromJson(
            json['ssmValidationParameters'] as Map<String, dynamic>)
        : null,
    validationId: json['validationId'] as String?,
  );
}