- Index
- »
- xeto
- »
- ValidateItem
type
ValidateItem
@Js
const mixin ValidateItem
ValidateItem models one warning or error message from validation
methods
level |
Warning or error level |
---|---|
msg |
Free-form message for validation error |
slot |
Slot of subject or null if on subject itself. |
subject |
Subject dict. |
Slot Details
level
abstract ValidateLevel level()
Warning or error level
msg
abstract Str msg()
Free-form message for validation error
slot
abstract Str? slot()
Slot of subject or null if on subject itself. This is dotted path if item is on a nested dict in the subject.
subject
abstract Dict subject()
Subject dict. If validate was called against a non-dict value then this is an empty dict.