PositiveNumberRule class

Checks if the given input is greater than 0.

Constructors

PositiveNumberRule(num fact)
const

Properties

fact num
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply() → RuleResponse<num>
An alias for the execute function.
inherited
build() → Rule<num, num>
execute() → RuleResponse<num>
inherited
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

Constants

min → const int