ValidationUtil class

Utility for logging validation errors or warnings.

Constructors

ValidationUtil()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

onWarning ValidationUtilWarningCallback?
Callback for when warnings are logged.
getter/setter pair
THROW_ON_WARNING bool
getter/setter pair
WARNING_COUNT int
getter/setter pair
WARNINGS_ENABLED bool
getter/setter pair

Static Methods

warn(String message, [Object? data]) bool
Use this to log warnings to the console in dev mode only.