toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  HashMap<String, dynamic> dic = HashMap();
  if (enableSei != null) {
    dic['enableSei'] = enableSei;
  }
  if (enableHardwareDecode != null) {
    dic['enableHardwareDecode'] = enableHardwareDecode;
  }
  if (enableLiveDNS != null) {
    dic['enableLiveDNS'] = enableLiveDNS;
  }
  if (enableStatisticsCallback != null) {
    dic['enableStatisticsCallback'] = enableStatisticsCallback;
  }
  if (statisticsCallbackInterval != null) {
    dic['statisticsCallbackInterval'] = statisticsCallbackInterval;
  }
  if (networkTimeoutMs != null) {
    dic['networkTimeoutMs'] = networkTimeoutMs;
  }
  if (retryIntervalTimeMs != null) {
    dic['retryIntervalTimeMs'] = retryIntervalTimeMs;
  }
  if (retryMaxCount != null) {
    dic['retryMaxCount'] = retryMaxCount;
  }
  return dic;
}