networkType property

NetworkType? networkType
final

Whether the work requires a particular NetworkType to run.

The default value is dependent on the native WorkManager, which should be NetworkType.notRequired according to the documentation.

Implementation

final NetworkType? networkType;