PusherChannelsPackageConfigs class abstract
Package configurations.
Constructors
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
-
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 Properties
- handler → LogHandler
-
The handler log function.
no setter
- logsEnabled → bool
-
Use to check if logs are enabled.
no setter
Static Methods
-
disableLogs(
) → void - Makes logs invisible
-
enableLogs(
{LogHandler? handler}) → void -
Makes logs visible. If logs are enabled, you will able to see logs from different structures of the package.
For example, event logs from ConnectionDelegates.
Logs are done withhandler
if specified. Otherwise, they will be printed to console using print.
Constants
- defaultPingWaitPongDuration → const Duration