toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (additionalEndpoints != null)
    'additionalEndpoints': additionalEndpoints!,
  if (apiEnableAdmin != null) 'apiEnableAdmin': apiEnableAdmin!,
  if (apiEnableDebug != null) 'apiEnableDebug': apiEnableDebug!,
  if (consensusClient != null) 'consensusClient': consensusClient!,
  if (executionClient != null) 'executionClient': executionClient!,
  if (gethDetails != null) 'gethDetails': gethDetails!,
  if (network != null) 'network': network!,
  if (nodeType != null) 'nodeType': nodeType!,
  if (validatorConfig != null) 'validatorConfig': validatorConfig!,
};