SimpleConnectionChecker class

Constructors

SimpleConnectionChecker()
Constructor to return the same instance for every new initialization
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onConnectionChange Stream<bool>
Get method to return the stream from stream controller
no setter
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
setLookUpAddress(String? lookUpAddress) → void
Method to set the lookup address
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isConnectedToInternet({String? lookUpAddress}) Future<bool>
Static method to check if it's connected to internet lookUpAddress: String to use as lookup address to check internet connection