fromJson static method

ValidationResult fromJson(
  1. Map<String, dynamic> map
)

Implementation

static ValidationResult fromJson(Map<String, dynamic> map) {
  return ValidationResult(
    message: map['message'],
    property: map['property'],
    dataPath: map['dataPath'],
    schemaPath: map['schemaPath'],
    keyword: map['keyword'],
    params: map['params'] ?? {},
  );
}