ContextNetwork.fromNative constructor

ContextNetwork.fromNative(
  1. NativeContextNetwork nativeContextNetwork
)

Implementation

ContextNetwork.fromNative(NativeContextNetwork nativeContextNetwork)
    : cellular = nativeContextNetwork.cellular ?? false,
      wifi = nativeContextNetwork.wifi ?? false;