toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (currentState != null) 'currentState': currentState!,
  if (deadLetterTopic != null) 'deadLetterTopic': deadLetterTopic!,
  if (desiredState != null) 'desiredState': desiredState!,
  if (pubsubConfig != null) 'pubsubConfig': pubsubConfig!,
};