Base type of the Ack rule annotations, such as HasMinLength and IsEmail.
ack_generator reads rules by their type. Write the concrete rule
annotations; do not use this type directly.
@Schemable()
final class User({
@IsEmail() required final String email,
@HasMinLength(2) required final String name,
}) with _$UserAck {
static final schema = UserSchema.schema;
}
Validate.kind and Validate.value stay visible on every rule until Validate is deleted. Redirecting factories require this subtype, so those fields cannot be dropped earlier.
- Inheritance
- Implementers
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited