NumberSchema class

Schema for numeric values

Implemented types

Constructors

NumberSchema({bool required = false, num? min, num? max})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
max num?
final
min num?
final
required bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getErrors(num? 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(num? value) bool
Validate the event data
override

Operators

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