ConnectivityConfig class

Constructors

ConnectivityConfig.new({Duration checkInterval = const Duration(seconds: 30), PingLevelConfig pingLevelConfig = const PingLevelConfig.defaultConfig(), Future pingRequest()?, String pingUrl = 'https://google.com'})
Create a new ConnectivityConfig with the given parameters

Properties

checkInterval Duration
The interval between each connectivity check
final
hashCode int
The hash code for this object.
no setterinherited
pingLevelConfig PingLevelConfig
The configuration for the ping levels
final
pingRequest Future Function()
The ping request to be used for checking the connection
getter/setter pair
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.
inherited

Operators

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

Static Methods

pingUrl(Uri url) Future<void>