toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (conndSubscription != null) 'conndSubscription': conndSubscription!,
      if (conndTopic != null) 'conndTopic': conndTopic!,
      if (controlPlaneSubscription != null)
        'controlPlaneSubscription': controlPlaneSubscription!,
      if (controlPlaneTopic != null) 'controlPlaneTopic': controlPlaneTopic!,
      if (locationId != null) 'locationId': locationId!,
      if (name != null) 'name': name!,
      if (runtimeEndpoint != null) 'runtimeEndpoint': runtimeEndpoint!,
      if (schemaGcsBucket != null) 'schemaGcsBucket': schemaGcsBucket!,
      if (serviceDirectory != null) 'serviceDirectory': serviceDirectory!,
      if (state != null) 'state': state!,
    };