InternetCheckResult class
Represents the result of an internet connection check.
This class encapsulates the outcome of an internet connection check performed with a specific InternetCheckOption.
Constructors
- InternetCheckResult.new({required InternetCheckOption option, required bool isSuccess})
- Creates an InternetCheckResult instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
The result of the internet connection check for the given option.
final
- option → InternetCheckOption
-
The option used to check internet connection for this result.
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited