SafeJsonFieldAnnotation constructor

SafeJsonFieldAnnotation({
  1. String? description,
  2. String? expectedFormat,
  3. List<String>? commonValues,
  4. String? customParser,
  5. required bool enhancedErrors,
})

Creates a new SafeJsonFieldAnnotation with the specified configuration

This constructor is used internally by the code generator to create annotation instances from @SafeJsonField metadata.

Implementation

SafeJsonFieldAnnotation({
  this.description,
  this.expectedFormat,
  this.commonValues,
  this.customParser,
  required this.enhancedErrors,
});