materialize method
void
materialize()
Forces instantiation of the underlying validator.
Normally the validator is created lazily on first validate call. Call this method to eagerly create it.
final lazy = Validate.lazy(() => expensiveValidator());
lazy.materialize(); // Create now instead of on first validate
Implementation
void materialize() {
_instance ??= _factory();
}