toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authenticationConfig != null)
        'authenticationConfig': authenticationConfig!,
      if (httpEndpoint != null) 'httpEndpoint': httpEndpoint!,
      if (messageBus != null) 'messageBus': messageBus!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (outputPayloadFormat != null)
        'outputPayloadFormat': outputPayloadFormat!,
      if (topic != null) 'topic': topic!,
      if (workflow != null) 'workflow': workflow!,
    };