OptionsValidation<T> class

It allows you to validate a list of options by checking the minimum length and if any particular options have been selected

Inheritance

Constructors

OptionsValidation({String? errorCode, int? minLength, int? maxLength, List<T>? whereIn, List<T>? whereNotIn})
const

Properties

errorCode String?
Use a custom error string to differentiate between errors
finalinherited
hashCode int
The hash code for this object.
no setterinherited
maxLength int?
final
minLength int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
whereIn List<T>?
final
whereNotIn List<T>?
final

Methods

call(Iterable<T> value) Object?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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