SunnyFieldError.simple constructor
SunnyFieldError.simple({
- required JsonPath path,
- String? error,
Implementation
SunnyFieldError.simple({required JsonPath path, String? error})
: this(
path: path,
errors: [ValidationError.ofString(path, error)],
vsync: null,
isFocused: true,
);