toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (enable != null) {
    _json[r'Enable'] = enable;
  }
  if (interNodeListenAddress != null) {
    _json[r'InterNodeListenAddress'] = interNodeListenAddress;
  }
  if (interNodeUrls != null) {
    _json[r'InterNodeUrls'] = interNodeUrls;
  }
  return _json;
}