CountRangeGuide class final

Constrains an array field to a range of element counts.

See GenerationGuide.countRange for usage.

Inheritance

Constructors

CountRangeGuide(int min, int max)
Creates a count range guide.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
max int
The maximum number of elements.
final
min int
The minimum number of elements.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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