RequestValidator.fromJson constructor

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

Implementation

factory RequestValidator.fromJson(Map<String, dynamic> json) {
  return RequestValidator(
    id: json['id'] as String?,
    name: json['name'] as String?,
    validateRequestBody: json['validateRequestBody'] as bool?,
    validateRequestParameters: json['validateRequestParameters'] as bool?,
  );
}