SchemaValidationError constructor

const SchemaValidationError({
  1. required String path,
  2. required String message,
})

Creates a validation error at path with a human readable message.

Implementation

const SchemaValidationError({required this.path, required this.message});