ConnectivityListenCallback typedef

ConnectivityListenCallback = Future<bool> Function(bool status, ConnectivityResult result)

返回 false 不再继续执行其他方法 返回 true 继续执行其他方法

Implementation

typedef ConnectivityListenCallback = Future<bool> Function(
    bool status, ConnectivityResult result);