toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dropLateData != null) 'dropLateData': dropLateData!,
      if (idLabel != null) 'idLabel': idLabel!,
      if (subscription != null) 'subscription': subscription!,
      if (timestampLabel != null) 'timestampLabel': timestampLabel!,
      if (topic != null) 'topic': topic!,
      if (trackingSubscription != null)
        'trackingSubscription': trackingSubscription!,
      if (withAttributes != null) 'withAttributes': withAttributes!,
    };