CheckNetWork typedef

CheckNetWork = Future<bool> Function()

检查网络的方法 是否有网络

Implementation

typedef CheckNetWork = Future<bool> Function();