ValidationResult constructor

const ValidationResult({
  1. required bool isValid,
  2. List<String> errors = const [],
  3. List<String> warnings = const [],
  4. String? errorMessage,
})

Implementation

const ValidationResult({
  required this.isValid,
  this.errors = const [],
  this.warnings = const [],
  this.errorMessage,
});