setDefaults method

void setDefaults()

Implementation

void setDefaults() {
  // set wrapper info
  _optionsMap['wrapper_info'] = {
    'type': 'flutter',
    'version': bugseeVersion,
    'build': '0'
  };

  maxRecordingTime = constOptionMaxRecordingTime;
  shakeToReport = constOptionShakeToReport;
  crashReport = constOptionCrashReport;
  videoEnabled = constOptionVideoEnabled;
  videoScale = constOptionVideoScale;
  captureLogs = constOptionCaptureLogs;
  monitorNetwork = constOptionMonitorNetwork;
  screenshotEnabled = constOptionScreenshotEnabled;
  maxDataSize = constOptionMaxDataSize;
  reportPrioritySelector = constOptionReportPrioritySelector;
  defaultCrashPriority = constOptionDefaultCrashPriority;
  defaultBugPriority = constOptionDefaultBugPriority;
  frameRate = constOptionFrameRate;
  wifiOnlyUpload = constOptionWiFiOnlyUpload;
  maxNetworkBodySize = constOptionMaxNetworkBodySize;
  captureDeviceAndNetworkNames = constOptionCaptureDeviceAndNetworkNames;
  viewHierarchyEnabled = constOptionViewHierarchyEnabled;
  reportSummaryRequired = constOptionReportSummaryRequired;
  reportDescriptionRequired = constOptionReportDescriptionRequired;
  reportEmailRequired = constOptionReportEmailRequired;
  reportLabelsEnabled = constOptionReportLabelsEnabled;
  reportLabelsRequired = constOptionReportLabelRequired;
}