toMap method

Map<String, dynamic> toMap ()
override

Implementation

Map<String, dynamic> toMap() {
  Map<String, dynamic> map = {};
  if (_server_address != null) {
    map['server_address'] = _server_address;
  }
  if (_network_retries_count != null) {
    map['network_retries_count'] = _network_retries_count;
  }
  if (_message_retries_count != null) {
    map['message_retries_count'] = _message_retries_count;
  }
  if (_message_processing_timeout != null) {
    map['message_processing_timeout'] = _message_processing_timeout;
  }
  if (_wait_for_timeout != null) {
    map['wait_for_timeout'] = _wait_for_timeout;
  }
  if (_out_of_sync_threshold != null) {
    map['out_of_sync_threshold'] = _out_of_sync_threshold;
  }
  if (_access_key != null) {
    map['access_key'] = _access_key;
  }
  return map;
}