toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (enable != null) {
    _json[r'Enable'] = enable;
  }
  if (blockProfileRate != null) {
    _json[r'BlockProfileRate'] = blockProfileRate;
  }
  if (listenAddress != null) {
    _json[r'ListenAddress'] = listenAddress;
  }
  return _json;
}