setOffline method Null safety

Future<void> setOffline(
  1. bool value
)

Sets the CleverTap SDK to offline

Implementation

static Future<void> setOffline(bool value) async {
  return await _channel.invokeMethod('setOffline', {'value': value});
}