IsNotEmpty class final

Adds .notEmpty() to an inferred string or collection (List / Set) schema.

Inheritance
Annotations
  • @Target.new({TargetKind.field, TargetKind.parameter})

Constructors

IsNotEmpty()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
The constraint identifier.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → Object?
The constraint argument (num, int, or String), if any.
finalinherited

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