offline property
Gets the current value of the offline mode setting.
Returns true
if Apptimize is configured to run in offline mode.
Otherwise it returns false
.
Implementation
static Future<bool> get offline async {
var isOffline = await _channel.invokeMethod('getOffline');
if (isOffline == null) {
developer.log("Expected `bool` as `getOffline` response",
name: Apptimize._logTag);
}
return isOffline ?? false;
}