toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (detailOfMessage != null) 'detailOfMessage': detailOfMessage!,
      if (event != null) 'event': event!,
      if (pubsubCondition != null) 'pubsubCondition': pubsubCondition!,
      if (topic != null) 'topic': topic!,
    };