ListSchema<T> class

Schema for list values

Implemented types

Constructors

ListSchema({bool required = false, int? minItems, int? maxItems, EventSchema<T>? itemSchema})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
itemSchema → EventSchema<T>?
final
maxItems → int?
final
minItems → int?
final
required → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getErrors(List<T>? value) → List<String>
Get validation errors
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate(List<T>? value) → bool
Validate the event data
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited