ReqUrl class

Convenience validator for required URL values.

Constructors

ReqUrl({String blank = 'required URL', String mal = 'malformed URL'})
Non-blank and well-formed URL values.

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

call(String? value) String?
Returns null if the value is a valid URL; otherwise it will return the error message for blank fields or the error message for malformed fields.
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