UrlValidationResult class

Result of URL validation containing validity status, message, and parsed data.

Constructors

UrlValidationResult({required bool isValid, required String message, UrlData? data})
Creates a URL validation result.
const

Properties

data UrlData?
Parsed URL data if valid.
final
hashCode int
The hash code for this object.
no setterinherited
isValid bool
Whether the URL is valid.
final
message String
Validation message.
final
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
toJson() Map<String, dynamic>
Converts to JSON map.
toString() String
A string representation of this object.
inherited

Operators

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