SchemaViolation constructor

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

Creates a SchemaViolation at path with message.

Implementation

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