networkTypeChanged property Null safety

NetworkTypeCallback? networkTypeChanged
read / write

Occurs when the network type changes.

The SDK returns the current network type in this callback. When the network connection is interrupted, this callback indicates whether the interruption is caused by a network type change or poor network conditions.

The NetworkTypeCallback typedef includes the following parameters:

Implementation

NetworkTypeCallback? networkTypeChanged;