SunnyFieldError constructor
SunnyFieldError({
- required JsonPath path,
- bool? isFocused,
- required List<
ValidationError?> ? errors, - required TickerProvider? vsync,
Implementation
SunnyFieldError(
{required this.path,
this.isFocused,
required this.errors,
required this.vsync})
: hasError = errors.isNotNullOrEmpty,
super(key: Key(sunnyFieldErrorKey(path)));